MendelianRandomization: an R package for performing Mendelian randomization analyses using summarized data

Int J Epidemiol. 2017 Dec 1;46(6):1734-1739. doi: 10.1093/ije/dyx034.

Abstract

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).

Keywords: Mendelian randomization; causal inference; data parasite; instrumental variable; summarized data; two-sample.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Causality
  • Genetic Variation
  • Humans
  • Mendelian Randomization Analysis / methods*
  • Software*