This function checks for associations between class labels and potential confounders (e.g. age, sex, or BMI) that are present in the metadata. Statistical testing is performed with Fisher's exact test or Wilcoxon test, while associations are visualized either as barplot or Q-Q plot, depending on the type of metadata.
confounder.check(siamcat, fn.plot, verbose = 1)
siamcat | an object of class siamcat |
---|---|
fn.plot | string, filename for the pdf-plot |
verbose | control output: |
Does not return anything, but produces a single plot for each metadata category