Skip to content

MendelianRandomization

0.10.0Package record

Mendelian Randomization Package

1packages dependsuggested by 1
34.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Encodes several methods for performing Mendelian randomization analyses with summarized data. Summarized data on genetic associations with the exposure and with the outcome can be obtained from large consortia. These data can be used for obtaining causal estimates using instrumental variable methods.

Changes in 0.10.0

Removed extract.pheno.csv command and PhenoScanner example data.

Added conditional likelihood ratio method and other weak instrument robust identification tests (mr_clr) - thanks to Sheng Wang for coding!

Changed default threshold for PCs in mr_pcgmm and mr_mvpcgmm from 0.999 to 0.99.

Added multivariable IVW with measurement error method (mr_mvivwme) - thanks to Andrew Grant and Ville Karhunen for coding!

From NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 8.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 5 earlier changesHide 5 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.10.0
READMENoVignettesYes · 1 · dynamicNEWSYes · 0% structured · mentions 0.10.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
88 (25 internal)
Examples that run
96%46 run in a plain check · 2 hold no code
Exported functions with examples
93%
Documented parameters
99%
Return-value docs
87%
Help pages citing references
27%

Downloads

34.8K
CRAN downloads in the past year
Rank #2,000 · ~95/day · ~2.9K/mo
Daily download trend is not available in this view yet.
3.4K30 days
9.2K90 days
34.8K1 year
Compare downloads with other packages →
Also on544 r2u4 autocran5.9K conda_forge110 c2d4u

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing MendelianRandomization adds 80 packages (44 with compiled code, 73 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (2)
R >= 3.0.1methods
LinkingTo (2)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (16)
Author, Maintainer · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Show 6 more contributorsHide 6 contributors
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0
Contributor · added in 0.10.0

Maintainer since 0.1.0 (2016)

Listed in earlier versions (1)
Olena Yavorska James Staley
no longer listed · 0.4.0 to 0.9.0
Releases (15)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.10.0Latest
    record
    2024-04-12 · current release · diff ↗ ·
    removed 1 export
    extract.pheno.csv
    added 2 exports
    mr_mvivwme, mr_clr
  • 0.9.0
    record
    2023-08-08 · diff ↗ ·
    added 3 exports
    mr_pcgmm, mr_mvpcgmm, mr_mvgmm
  • 0.8.0
    record
    2023-07-04 · diff ↗ ·
    added 2 exports
    mr_pivw, mr_mvcML
  • R
    R 4.3.0 released · 2023-04-21
  • 0.7.0
    record
    2023-01-09 · diff ↗ ·
    added 1 export
    mr_cML
  • R
    R 4.2.0 released · 2022-04-22
  • 0.6.0
    record
    2022-02-22 · diff ↗ ·
    added 1 export
    mr_divw
  • R
    R 4.1.0 released · 2021-05-18
  • 0.5.1
    record
    2021-04-16 · diff ↗
  • 0.5.0
    record
    2020-09-30 · diff ↗ ·
    added 6 exports
    mr_forest, mr_loo, mr_funnel, mr_mvmedian, mr_mvlasso, mr_lasso
  • 0.4.3
    record
    2020-08-11 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.2
    record
    2020-02-25 · diff ↗
Show 10 earlier eventsHide 10 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 0.4.1
    record
    2019-04-09 · diff ↗
  • 0.4.0
    record
    2019-03-07 · diff ↗ ·
    added 4 exports
    phenoscanner, pheno_input, mr_mvegger, mr_conmix
  • R
    R 3.5.0 released · 2018-04-23
  • 0.3.0
    record
    2018-03-03 · diff ↗ ·
    added 5 exports
    mr_input, mr_mvinput, mr_mbe, mr_mvivw, mr_hetpen
  • 0.2.2
    record
    2017-08-22 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.2.0
    record
    2016-09-30 · diff ↗ ·
    added 1 export
    mr_maxlik
  • 0.1.0
    record
    2016-08-31
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-08-31
Total releases
15 / 10 yrs
License
GPL-2 | GPL-3 OSI
Minimum R
≥ 3.0.1
Download size
619 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MendelianRandomization")
Burgess, S., Broadbent, J., Foley, C., Grant, A., Hartwig, F., Kang, H., Karhunen, V., Lin, Z., Mason, A., Patel, A., Staley, J., Wang, S., Xu, S., Xue, H., Yavorska, O., & Ye, T. (2024). MendelianRandomization: Mendelian Randomization Package (Version 0.10.0) [Computer software]. https://doi.org/10.32614/CRAN.package.MendelianRandomization

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for MendelianRandomization version 0.10.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy