Sovereign 8s.is mirror of standardgalactic/TwoSampleMR
  • R 96.7%
  • TeX 2.9%
  • Rez 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tom Palmer bd4d9d5943
Some checks failed
R-CMD-check / ubuntu-latest (devel) (push) Has been cancelled
R-CMD-check / macos-14 (release) (push) Has been cancelled
R-CMD-check / macos-15 (release) (push) Has been cancelled
R-CMD-check / macos-26 (release) (push) Has been cancelled
R-CMD-check / ubuntu-latest (4.3.2) (push) Has been cancelled
R-CMD-check / ubuntu-latest (oldrel-1) (push) Has been cancelled
R-CMD-check / ubuntu-latest (oldrel-2) (push) Has been cancelled
R-CMD-check / ubuntu-latest (oldrel-3) (push) Has been cancelled
R-CMD-check / ubuntu-latest (oldrel-4) (push) Has been cancelled
R-CMD-check / ubuntu-latest (release) (push) Has been cancelled
R-CMD-check / windows-latest (release) (push) Has been cancelled
pkgdown / pkgdown (push) Has been cancelled
test-coverage / test-coverage (push) Has been cancelled
Merge pull request #668 from remlapmot/2025-12-17
Fix typo
2025-12-17 07:01:39 +00:00
.github Add env var to pkgdown workflow 2025-12-15 12:31:08 +00:00
inst Formatting 2025-08-20 14:37:02 +01:00
man Add clump_data args to read_exposure_data() 2025-12-16 06:27:16 +00:00
pkgdown Set font-size to 14px relative to 1rem equals 16px 2023-04-17 23:01:05 +01:00
R Add space 2025-12-16 07:00:59 +00:00
tests Skip tests if MendelianRandomization not installed 2025-12-16 12:20:38 +00:00
vignettes Don't eval chunks if MendelianRandomization not installed 2025-12-16 12:27:06 +00:00
.gitattributes mark rdb and rdx as linguist-vendored 2021-09-14 11:53:17 +01:00
.gitignore Ignore vignettes/rf.rdata 2025-12-15 12:46:44 +00:00
.lintr Update .lintr 2025-08-20 14:36:53 +01:00
.Rbuildignore Ignore vignettes/rf.rdata 2025-12-15 12:46:44 +00:00
_pkgdown.yml Add dark mode to pkgdown site 2024-07-07 19:06:22 +01:00
air.toml Create air.toml 2025-08-20 14:12:54 +01:00
CITATION.cff Update CITATION.cff 2023-11-16 11:57:32 +00:00
codecov.yml usethis::use_coverage("codecov") 2025-03-18 15:41:18 +00:00
DESCRIPTION Bump version 2025-12-16 12:21:03 +00:00
index.md Add multiplatform Docker image comment 2025-02-04 21:14:51 +00:00
LICENSE updated 2019-11-05 12:25:57 +00:00
LICENSE.md updated docs and added tests 2019-11-05 23:21:10 +00:00
NAMESPACE Add mr_grip() function 2025-03-23 12:57:35 +00:00
NEWS.md Fix typo 2025-12-17 06:50:47 +00:00
README.md render README.Rmd 2025-02-04 21:14:51 +00:00
README.Rmd Add Documentation subheading 2024-07-05 16:26:57 +01:00
TwoSampleMR.Rproj Update TwoSampleMR.Rproj 2025-04-18 10:03:59 +01:00

Mendelian randomization with GWAS summary data

R-CMD-check Lifecycle:
experimental DOI Codecov test
coverage TwoSampleMR status
badge

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.

January 2020 major update

We have made substantial changes to the package, database and reference panels. For full details of the changes, please visit https://mrcieu.github.io/TwoSampleMR/articles/gwas2020.html

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

install.packages("remotes")
remotes::install_github("MRCIEU/TwoSampleMR")

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

Docker

A multi-platform docker image containing R with the TwoSampleMR package pre-installed (for both x86_64 and ARM computers) is available here: https://hub.docker.com/r/mrcieu/twosamplemr

Documentation

Full documentation available here: https://mrcieu.github.io/TwoSampleMR/