TwoSampleMR Documentation
repository·master·Indexed 20 days ago
https://github.com/mrcieu/twosamplemrAn R package for performing Mendelian randomization using GWAS summary data. It features automated data retrieval via the IEU OpenGWAS database and provides various methods for conducting Mendelian randomization analyses.
What's inside TwoSampleMR
- TwoSampleMR is an R package designed for performing Mendelian randomization using Genome-Wide Association Study (GWAS) summary data. It integrates with the IEU OpenGWAS database to automate data retrieval and provides a variety of methods for conducting Mendelian randomization analyses.
Use TwoSampleMR via Docker
masterA multi-platform Docker image is available for both x86_64 and ARM architectures. This image comes with R and the
TwoSampleMRpackage pre-installed. You can find the image on Docker Hub.https://hub.docker.com/r/mrcieu/twosamplemrInstall TwoSampleMR on Windows or macOS
masterTo install the latest version of
TwoSampleMRon Windows or macOS, use the MRC IEU r-universe repository. This is the recommended method for these operating systems.install.packages("TwoSampleMR", repos = c("https://mrcieu.r-universe.dev", "https://cloud.r-project.org"))Install TwoSampleMR from source via GitHub
masterIf you need to install the package directly from the GitHub source, use the
remotespackage to installMRCIEU/TwoSampleMR.install.packages("remotes") remotes::install_github("MRCIEU/TwoSampleMR")Access the TwoSampleMR documentation
masterThe complete, detailed documentation for the
TwoSampleMRpackage, including guides, API references, and tutorials, is hosted externally. For in-depth information beyond the repository README, visit the official documentation site.https://mrcieu.github.io/TwoSampleMR/