TwoSampleMR Documentation

repository·master·Indexed 20 days ago

https://github.com/mrcieu/twosamplemr

An 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.

Tokens
408
Snippets
4
Records
5
Agent score
19%

What's inside TwoSampleMR

  1. Use TwoSampleMR via Docker

    master

    A multi-platform Docker image is available for both x86_64 and ARM architectures. This image comes with R and the TwoSampleMR package pre-installed. You can find the image on Docker Hub.

    https://hub.docker.com/r/mrcieu/twosamplemr
  2. Install TwoSampleMR on Windows or macOS

    master

    To install the latest version of TwoSampleMR on 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"))
  3. Install TwoSampleMR from source via GitHub

    master

    If you need to install the package directly from the GitHub source, use the remotes package to install MRCIEU/TwoSampleMR.

    install.packages("remotes")
    remotes::install_github("MRCIEU/TwoSampleMR")
  4. Access the TwoSampleMR documentation

    master

    The complete, detailed documentation for the TwoSampleMR package, 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/