Broadbent Jim R, Foley Christopher N, Grant Andrew J, Mason Amy M, Staley James R, Burgess Stephen
Cardiovascular Epidemiology Unit, University of Cambridge, Cambridge, CB2 0SR, UK.
MRC Biostatistics Unit, University of Cambridge, Cambridge, CB1 8RN, UK.
Wellcome Open Res. 2020 Dec 10;5:252. doi: 10.12688/wellcomeopenres.16374.2. eCollection 2020.
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.
孟德尔随机化软件包是一个为R软件环境编写的软件包,它基于汇总数据实现孟德尔随机化方法。在本手稿中,我们描述了近年来添加到该软件包或更新的功能。这些功能可分为四类:孟德尔随机化的稳健方法、多变量孟德尔随机化方法、数据可视化功能以及从PhenoScanner网络资源无缝加载数据到该软件包的能力。我们提供了数据可视化命令产生的图形输出示例,以及获取合适数据并在一行代码中进行孟德尔随机化分析的语法。