metadeconfoundR: covariate analysis of high-dimensional cross-sectional omics data
Till Birkner, Chia-Yu Chen, Morgan Essex, Kilian Dahm, Ulrike Löber, Thomas Ulas, Víctor Hugo Jarquín-Díaz, Sofia Kirke Forslund-StartcevaAbstract
Motivation
Identifying disease biomarkers from large molecular datasets is complicated by correlated and confounded signals like comorbidities and treatment regimens, batch effects, and cohort biases. These effects bias statistical inference and clinical conclusions. Robust methodologies are fundamental for reliable biomarker discovery.
Results
metadeconfoundR is an R package for conservative biomarker discovery in (multi-)omics case-control datasets. It has a scalable two-step confounder-aware statistical framework for retaining only associations with independent support. It identifies covariate-naive univariate associations between omics features and metadata, then re-evaluates these associations using parallel post-hoc nested linear model testing to account for potential confounders. Confounded associations are flagged if they fully reduce to at least one other variable. metadeconfoundR supports parallel computation for large-scale datasets, offers visualization and tools for interpreting results and secondary analyses. We benchmark metadeconfoundR against state-of-the-art methods for identifying biomarkers using simulated ground truth derived from microbiome data, and demonstrate its ability to disentangle confounding effects while preserving statistical power, offering particular advantage when multiple covariates are present. metadeconfoundR functions for any -omics data type with continuous or categorical metadata/covariates.
Availability
metadeconfoundR is available on CRAN (https://cran.r-project.org/web/packages/metadeconfoundR/) and GitHub (https://github.com/TillBirkner/metadeconfoundR).