| Literature DB >> 33381656 |
Jim R Broadbent1, Christopher N Foley2, Andrew J Grant2, Amy M Mason1, James R Staley1, Stephen Burgess1,2.
Abstract
The MendelianRandomization package is a software package written for the R software environment that implements methods for Mendelian randomization based on summarized data. In this manuscript, we describe functions that have been added to the package or updated in recent years. These features can be divided into four categories: robust methods for Mendelian randomization, methods for multivariable Mendelian randomization, functions for data visualization, and the ability to load data into the package seamlessly from the PhenoScanner web-resource. We provide examples of the graphical output produced by the data visualization commands, as well as syntax for obtaining suitable data and performing a Mendelian randomization analysis in a single line of code. Copyright:Entities:
Keywords: Mendelian randomization; causal inference; genetic associations.; genetic epidemiology; instrumental variable; post-GWAS analysis; summarized data
Year: 2020 PMID: 33381656 PMCID: PMC7745186 DOI: 10.12688/wellcomeopenres.16374.2
Source DB: PubMed Journal: Wellcome Open Res ISSN: 2398-502X
Functions available in the MendelianRandomization package.
Functions are divided into five categories: data entry functions, univariable estimation methods, multivariable estimation methods, data visualization functions, and functions that load data from PhenoScanner.
| Function | Description | Status |
|---|---|---|
|
| Data entry for univariable analysis
|
|
|
| Inverse-variance weighted (IVW) method
| †
|
|
| Multivariable IVW method
| *
|
|
| Scatter plot
| †
|
|
| Data entry from PhenoScanner .csv file (legacy)
|
|
Comparison of univariable methods implemented in the MendelianRandomization package.
A more detailed comparison of robust methods for Mendelian randomization can be found in a recent review [15]. Abbreviation: InSIDE = instrument strength independent of direct effect.
| Method | Function name | Strengths and weaknesses | Reference |
|---|---|---|---|
| Inverse variance
|
| Most efficient (greatest statistical power), biased if
|
|
| MR-Robust
|
| Downweights outliers, efficient with valid IVs, high
|
|
Figure 1. Scatter plot created by mr_plot command applied to a MRMVInput object.
Estimated genetic associations with the outcome (vertical axis) are plotted against predicted associations with the outcome from the multivariable inverse-variance weighted method (horizontal axis). Error bars are 95% confidence intervals, and the diagonal line has gradient 1.
Figure 2. Forest plots created by mr_forest command.
Left panel: comparison of variant-specific estimates plus inverse-variance weighted (IVW) estimate (default options). Right panel: comparison of estimates from different methods with variant-specific estimates switched off. Points represent estimates and horizontal error bars are 95% confidence intervals (CI).
Figure 3. Funnel plot created by mr_funnel command.
Points represent variant-specific estimates and horizontal error bars are 95% confidence intervals (CI).
Figure 4. Leave-one-out plot created by mr_loo command.
Points represent estimates from the inverse-variance weighted (IVW) method, omitting the variant indicated. Horizontal error bars are 95% confidence intervals (CI).