# TwoSampleMR **Repository Path**: sheng0825/TwoSampleMR ## Basic Information - **Project Name**: TwoSampleMR - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-28 - **Last Updated**: 2024-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Mendelian randomization with GWAS summary data [![Build Status](https://github.com/MRCIEU/TwoSampleMR/workflows/R-CMD-check/badge.svg)](https://github.com/MRCIEU/TwoSampleMR/actions?workflow=R-CMD-check) [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental) [![DOI](https://zenodo.org/badge/49515156.svg)](https://zenodo.org/badge/latestdoi/49515156) [![Codecov test coverage](https://codecov.io/gh/MRCIEU/TwoSampleMR/branch/ieugwasr/graph/badge.svg)](https://codecov.io/gh/MRCIEU/TwoSampleMR?branch=ieugwasr) A package for performing Mendelian randomization using GWAS summary data. It uses the [IEU GWAS database](https://gwas.mrcieu.ac.uk/) to obtain data automatically, and a wide range of methods to run the analysis. You can use the [MR-Base web app](http://www.mrbase.org/) to try out a limited range of the functionality in this package, but for any serious work we strongly recommend using this R package. ## January 2020 major update **We have made substantial changes to the package, database and reference panels.** For full details of the changes, please visit ## Installation To install the latest version of TwoSampleMR, perform as normal: ``` r install.packages("remotes") remotes::install_github("MRCIEU/TwoSampleMR") ``` To update the package just run the `remotes::install_github("MRCIEU/TwoSampleMR")` command again. We recommend using this new version going forwards but for a limited time we are enabling backwards compatibility, in case you are in the middle of analysis or need to reproduce old analysis. In order to use the legacy version of the package and the database, install using: ``` r install.packages("remotes") remotes::install_github("MRCIEU/TwoSampleMR@0.4.26") ``` ## Docker A docker image containing R with the TwoSampleMR package pre-installed is available here: **Full documentation available here:**