GMAC: Genomic Mediation Analysis with Adaptive Confounding Adjustment

Performs genomic mediation analysis with adaptive confounding adjustment (GMAC) proposed by Yang et al. (2017) <doi:10.1101/gr.216754.116>. It implements large scale mediation analysis and adaptively selects potential confounding variables to adjust for each mediation test from a pool of candidate confounders. The package is tailored for but not limited to genomic mediation analysis (e.g., cis-gene mediating trans-gene regulation pattern where an eQTL, its cis-linking gene transcript, and its trans-gene transcript play the roles as treatment, mediator and the outcome, respectively), restricting to scenarios with the presence of cis-association (i.e., treatment-mediator association) and random eQTL (i.e., treatment).

Getting started

Package details

AuthorFan Yang [aut], Jiebiao Wang [aut, cre], Lin Chen [aut]
MaintainerJiebiao Wang <randel.wang@gmail.com>
LicenseGPL
Version3.2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("GMAC")

Try the GMAC package in your browser

Any scripts or data that you put into this service are public.

GMAC documentation built on Dec. 12, 2025, 1:06 a.m.