Newnham College, University of Cambridge.
Department of Public Health and Primary Care, University of Cambridge, Cambridge, UK.
Int J Epidemiol. 2017 Dec 1;46(6):1734-1739. doi: 10.1093/ije/dyx034.
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).
孟德尔随机化是一个用于 R 开源软件环境的软件包,它使用汇总数据执行孟德尔随机化分析。其核心功能是实现多种遗传变异的逆方差加权、MR-Egger 和加权中位数方法。用户可以选择多种选项,例如使用稳健回归、固定或随机效应模型,以及对因果估计异质的遗传变异进行加权惩罚。如果合适,还可以选择对这些方法进行扩展,例如允许变异相关。图形命令允许以交互图的形式显示汇总数据,或绘制来自多种方法的因果估计值,以便进行比较。尽管数据输入的主要方法是直接由用户完成,但也可以选择允许从基因型-表型关联的 PhenoScanner 数据库中合并汇总数据。我们希望在该软件包的未来版本中开发此功能。R 软件环境可从 [https://www.r-project.org/] 下载。MendelianRandomization 软件包可以在 R 中的 Comprehensive R Archive Network (CRAN) 中下载,也可以直接从 [https://cran.r-project.org/web/packages/MendelianRandomization/] 下载。R 和 MendelianRandomization 软件包均根据 GNU 通用公共许可证 (GPL-2|GPL-3) 发布。