Mendelian Randomization Package

Encodes several methods for performing Mendelian randomization analyses with summarized data. Summarized data on genetic associations with the exposure and with the outcome can be obtained from large consortia. These data can be used for obtaining causal estimates using instrumental variable methods.


MendelianRandomization v0.4.0

Added multivariable MR-Egger method (mr_mvegger) Added contamination mixture method (mr_conmix) Added seamless integration with PhenoScanner via the pheno_input function

MendelianRandomization v0.3.0

Added mr_mvinput and mr_mvivw for multivariable Mendelian randomization Added mode-based estimation method of Hartwig et al (mr_mbe) and heterogeneity-penalized mode-based method (mr_hetpen)

MendelianRandomization v0.2.2

Penalization of weights altered to correspond to Rees et al 2017 (submitted): penalization is now about the median estimate, only variants with heterogeneity p-value less than 0.01 are penalized.

MendelianRandomization v0.2.1

Minor fix on extract.pheno.csv function that was making SNPs out of order. Minor fix on p-values from mr_ivw and mr_egger functions.

MendelianRandomization v0.2.0

New functionality on mr_plot command: static graph (new options "interactive" and "labels"). New command mr_maxlik: implements maximum-likelihood estimation method. Bug fixes on mr_allmethods command.

MendelianRandomization v0.1.0

First release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.5.1 by Stephen Burgess, 9 months ago

Browse source code at

Authors: Olena Yavorska <[email protected]> James Staley <[email protected]>

Documentation:   PDF Manual  

Task views: Meta-Analysis

GPL-2 | GPL-3 license

Imports knitr, rmarkdown, plotly, ggplot2, robustbase, Matrix, iterpc, quantreg, rjson, glmnet

Depends on methods

Suggested by mrbayes.

See at CRAN