Skip to content

AnqiWang2021/MR.LDP

 
 

Repository files navigation

MR.LDP

MR.LDP is a package for two-sample Mendelian randomization for GWAS summary statistics accounting linkage disequilibrium and horizontal pleiotropy(MR-LDP).

Installation

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

If you have errors installing this package on Linux, try the following commands in R:

Sys.setlocale(category = "LC_ALL", locale = "English_United States.1252") 
Sys.setenv(LANG="en_US.UTF-8")
Sys.setenv(LC_ALL="en_US.UTF-8")

library(devtools)
install_github("QingCheng0218/MR.LDP")

Usage

The 'MR.LDP' vignette will provide a good start point for two-sample Mendelian randomization analysis using MR.LDP package.

References

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.

Development

This package is developed and maintained by Qing Cheng ([email protected]).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 85.9%
  • R 14.1%