MR.LDP is a package for two-sample Mendelian randomization for GWAS summary statistics accounting linkage disequilibrium and horizontal pleiotropy(MR-LDP).
Install the development version of MR.LDP by use of the 'devtools' package. Note that MR.LDP depends on the 'Rcpp' and 'RcppArmadillo' package, which also requires appropriate setting of Rtools and Xcode for Windows and Mac OS/X, respectively.
library(devtools)
install_github("QingCheng0218/MR.LDP")
The 'MR.LDP' vignette will provide a good start point for two-sample Mendelian randomization analysis using MR.LDP package.
Qing Cheng, Yi Yang, Xingjie Shi, Kar-Fu Yeung, Can Yang, Heng Peng, Jin Liu+. (2019) MR-LDP: a two-sample Mendelian randomization for GWAS summary statistics accounting linkage disequilibrium and horizontal pleiotropy.
This package is developed and maintained by Qing Cheng (qing.cheng@duke-nus.edu.sg).