MendelianRandomization: an R Package for Performing Mendelian Randomization Analyses Using Summarized Data
Overview
Authors
Affiliations
MendelianRandomization is a software package for the R open-source software environment that performs Mendelian randomization analyses using summarized data. The core functionality is to implement the inverse-variance weighted, MR-Egger and weighted median methods for multiple genetic variants. Several options are available to the user, such as the use of robust regression, fixed- or random-effects models and the penalization of weights for genetic variants with heterogeneous causal estimates. Extensions to these methods, such as allowing for variants to be correlated, can be chosen if appropriate. Graphical commands allow summarized data to be displayed in an interactive graph, or the plotting of causal estimates from multiple methods, for comparison. Although the main method of data entry is directly by the user, there is also an option for allowing summarized data to be incorporated from the PhenoScanner database of genotype-phenotype associations. We hope to develop this feature in future versions of the package. The R software environment is available for download from [https://www.r-project.org/]. The MendelianRandomization package can be downloaded from the Comprehensive R Archive Network (CRAN) within R, or directly from [https://cran.r-project.org/web/packages/MendelianRandomization/]. Both R and the MendelianRandomization package are released under GNU General Public Licenses (GPL-2|GPL-3).
Ren Y, Wang X, Wang W, Wang Z Sci Rep. 2025; 15(1):9022.
PMID: 40089493 DOI: 10.1038/s41598-025-89888-z.
Zhu M, Wu B, Chen-Zhao C, Chen H, Xiong W Zhong Nan Da Xue Xue Bao Yi Xue Ban. 2025; 49(10):1633-1641.
PMID: 40074312 PMC: 11897966. DOI: 10.11817/j.issn.1672-7347.2024.240062.
Circulating Blood-Based Proteins in Psychopathology and Cognition: A Mendelian Randomization Study.
Bhattacharyya U, John J, Lam M, Fisher J, Sun B, Baird D JAMA Psychiatry. 2025; .
PMID: 40072421 PMC: 11904806. DOI: 10.1001/jamapsychiatry.2025.0033.
Gao Y, Gao Y, Li Y, Zhang Q, Wang Y Medicine (Baltimore). 2025; 104(10):e41630.
PMID: 40068076 PMC: 11903027. DOI: 10.1097/MD.0000000000041630.
Liao W, Wang J, Zhong H, Wen S, Chen Y, Chen J Brain Commun. 2025; 7(2):fcaf053.
PMID: 40046334 PMC: 11880806. DOI: 10.1093/braincomms/fcaf053.