Skip to content

gordonliu810822/MR.Corr2

 
 

Repository files navigation

MR.Corr2

MR.Corr2 is a package for two-sample Mendelian randomization using correlated instrumental variants accounting correlated horizontal pleiotropy.

Installation

Install the development version of MR.Corr2 by use of the 'devtools' package. Note that MR.Corr2 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.Corr2")

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

Usage

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

References

Qing Cheng, Baoluo Sun, Yingcun Xia, Jin Liu+. (2020) Accounting for correlated horizontal pleiotropy in two-sample Mendelian randomization using correlated instrumental variants.

Development

This package is developed and maintained by Qing Cheng (qing.cheng@duke-nus.edu.sg).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.5%
  • R 13.5%