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.
This package is developed and maintained by Qing Cheng ([email protected]).