metadeconfoundR was developed to perform a confounder-aware biomarker search of cross-sectional multi-omics medical datasets. It first detects significant associations between individual supplied features and available metadata, using simple nonparametric tests like mann whitney u test. In a second step, potential confounding effects between different metadata variables are detected, using nested linear model comparison post-hoc tests.
metadeconfoundR is also able to incorporate prior knowledge about confounding effects into this second analysis step. Drug association knowledge gained and reported from analyses of the MetaCardis cohort (Forslund et al., 2021) could, for example, now be used as additional input for future studies encompassing the same omics modalities and available metadata. Now, known confounders will be treated as such even if statistical power in the new dataset is not sufficient to detect them, thereby reducing the risk of drawing wrong conclusions based on undetected confounders. Details about this can be found in the latest release notes of metadeconfoundR.
# in R
library(devtools)
install_github("TillBirkner/metadeconfoundR")
See vignette for example code and explanations.