Package: MendelianRandomization 0.10.0

Stephen Burgess

MendelianRandomization: Mendelian Randomization Package

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.

Authors:Stephen Burgess [aut, cre], Olena Yavorska [aut], James Staley [ctb], Fernando Hartwig [ctb], Jim Broadbent [ctb], Christopher Foley [ctb], Andrew Grant [ctb], Amy Mason [ctb], Ting Ye [ctb], Haoran Xue [ctb], Zhaotong Lin [ctb], Siqi Xu [ctb], Ashish Patel [ctb], Hyunseung Kang [ctb], Sheng Wang [ctb], Ville Karhunen [ctb]

MendelianRandomization_0.10.0.tar.gz
MendelianRandomization_0.10.0.tar.gz(r-4.5-noble)MendelianRandomization_0.10.0.tar.gz(r-4.4-noble)
MendelianRandomization_0.10.0.tgz(r-4.4-emscripten)MendelianRandomization_0.10.0.tgz(r-4.3-emscripten)
MendelianRandomization.pdf |MendelianRandomization.html
MendelianRandomization/json (API)
NEWS

# Install 'MendelianRandomization' in R:
install.packages('MendelianRandomization', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

7.53 score 44 stars 1 packages 896 scripts 2.9k downloads 88 mentions 77 exports 88 dependencies

Last updated 8 months agofrom:2e6f8aa6db. Checks:OK: 1 WARNING: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-linux-x86_64WARNINGNov 09 2024

Exports:BF_distcalc.rhocalciumcalciumsechdloddschdloddsseci_normalci_tcML_estimatecML_estimate_randomcML_SdThetacondFstatcoursedatadecimalsegger.boundsfastglucfastglucsehdlchdlcsehet.weightinvcov_mvmrldlcldlcselipid_eaflipid_effectlipid_otherloglikelihoodloglikelihoodcorrelloglikelihoodrhocorrelmbe_bootmbe_estmodel.priormr_allmethodsmr_clrmr_cMLmr_conmixmr_divwmr_eggermr_forestmr_funnelmr_hetpenmr_inputmr_ivwmr_lassomr_loomr_maxlikmr_mbemr_medianmr_mvcMLmr_mveggermr_mvgmmmr_mvinputmr_mvivwmr_mvivwmemr_mvlassomr_mvmedianmr_mvpcgmmmr_pcgmmmr_pivwmr_plotmv_normMVcML_SdThetaMVmr_cMLMVmr_cML_DPpenalised.weightspenalised.weights.deltapheno_inputphenoscannerplr.weightsr.weights.deltasimpleCaptrigtrigsevaluesweighted.medianweighted.median.boot.se

Dependencies:arrangementsaskpassbase64encbslibcachemclicodetoolscolorspacecpp11crosstalkcurldata.tableDEoptimRdigestdplyrevaluatefansifarverfastmapfontawesomeforeachfsgenericsggplot2glmnetgluegmpgtablehighrhtmltoolshtmlwidgetshttrisobanditeratorsiterpcjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclemagrittrMASSMatrixMatrixModelsmemoisemgcvmimemunsellnlmenumDerivopensslpillarpkgconfigplotlypromisespurrrquantregR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenrjsonrlangrmarkdownrobustbasesassscalesshapeSparseMstringistringrsurvivalsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml

Mendelian randomization vignette

Rendered fromVignette_MR.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2024-04-13
Started: 2016-08-31

Readme and manuals

Help Manual

Help pageTopics
Data on effect of calcium on fasting glucose (correlated variants)calc.rho calcium calciumse fastgluc fastglucse
CLR ClassCLR-class
Estimate with Regular LikelihoodcML_estimate
Estimate with Regular Likelihood Using Multiple Random Start PointscML_estimate_random
Standard Error of Estimated ThetacML_SdTheta
DIVW ClassDIVW-class
Egger ClassEgger-class
Generate the list of inverse of covariance matrices used in 'MVMR-cML-DP'invcov_mvmr
IVW ClassIVW-class
Data on lipid effects on coronary artery disease (uncorrelated variants)chdlodds chdloddsse hdlc hdlcse ldlc ldlcse lipid_eaf lipid_effect lipid_other trig trigse
MaxLik ClassMaxLik-class
Mendelian randomization estimation using all methodsmr_allmethods mr_allmethods,MRInput-method
Conditional likelihood ratio (CLR) methodmr_clr mr_clr,MRInput-method
Constrained maximum likelihood (cML) methodmr_cML mr_cML,MRInput-method
Contamination mixture methodmr_conmix mr_conmix,MRInput-method
Debiased inverse-variance weighted methodmr_divw mr_divw,MRInput-method
MR-Egger methodmr_egger mr_egger,MRInput-method
Draw a forest plot of causal estimatesmr_forest mr_forest,MRInput-method
Draw a funnel plot of variant-specific estimatesmr_funnel mr_funnel,MRInput-method
Heterogeneity-penalized methodmr_hetpen mr_hetpen,MRInput-method
Inputting and formatting data for use in causal estimationmr_input
Inverse-variance weighted methodmr_ivw mr_ivw,MRInput-method
MR-Lasso methodmr_lasso mr_lasso,MRInput-method
Leave-one-out estimatesmr_loo mr_loo,MRInput-method
Maximum-likelihood methodmr_maxlik mr_maxlik,MRInput-method
Mode-based method of Hartwigmr_mbe mr_mbe,MRInput-method
Median-based methodmr_median mr_median,MRInput-method
Multivariable constrained maximum likelihood methodmr_mvcML mr_mvcML,MRMVInput-method
Multivariable MR-Egger methodmr_mvegger mr_mvegger,MRMVInput-method
Multivariable generalized method of moments (GMM) methodmr_mvgmm mr_mvgmm,MRMVInput-method
Inputting and formatting data for use in causal estimationmr_mvinput
Multivariable inverse-variance weighted methodmr_mvivw mr_mvivw,MRMVInput-method
Multivariable inverse-variance weighted method with measurement errormr_mvivwme mr_mvivwme,MRMVInput-method
Multivariable MR-Lasso methodmr_mvlasso mr_mvlasso,MRMVInput-method
Multivariable median-based methodmr_mvmedian mr_mvmedian,MRMVInput-method
Multivariable principal components generalized method of moments (PC-GMM) methodmr_mvpcgmm mr_mvpcgmm,MRMVInput-method
Univariable principal components generalized method of moments (PC-GMM) methodmr_pcgmm mr_pcgmm,MRInput-method
Penalized inverse-variance weighted methodmr_pivw mr_pivw,MRInput-method
Draw a scatter plot of the genetic associations and/or causal estimatesmr_plot mr_plot,MRAll-method mr_plot,MRInput-method mr_plot,MRMVInput-method
MRAll ClassMRAll-class
MRcML ClassMRcML-class
MRConMix ClassMRConMix-class
MRHetPen ClassMRHetPen-class
MRInput ClassMRInput-class
MRLasso classMRLasso-class
MRMBE ClassMRMBE-class
MRMVInput ClassMRMVInput-class
Standard error estimate for MVMR-cML-BICMVcML_SdTheta
MVEgger ClassMVEgger-class
MVGMM ClassMVGMM-class
MVIVW ClassMVIVW-class
MVIVWME ClassMVIVWME-class
MRMVLasso classMVLasso-class
MRMVMedian classMVMedian-class
MVMRcML method with Data PerturbationMVmr_cML
MVMRcML method with Data PerturbationMVmr_cML_DP
MVMRcML ClassMVMRcML-class
MVPCGMM ClassMVPCGMM-class
PCGMM ClassPCGMM-class
Extract summarized data from PhenoScannerpheno_input
PhenoScannerphenoscanner
PIVW ClassPIVW-class
WeightedMedian ClassWeightedMedian-class