Two Sample MR Functions and Interface to MRC Integrative Epidemiology Unit OpenGWAS Database (original) (raw)

A package for performing Mendelian randomization using GWAS summary data. It uses the IEU OpenGWAS database to obtain data automatically, and a wide range of methods to run the analysis.

Installation

Users running Windows and macOS, to install the latest version of TwoSampleMR please install from our MRC IEU r-universe

install.packages("TwoSampleMR", repos = c("https://mrcieu.r-universe.dev", "https://cloud.r-project.org"))

Users running Linux or WebR please see the following instructions.

To update the package run the same command again.

Installing from source

To update the package just run the remotes::install_github("MRCIEU/TwoSampleMR") command again.