MendelianRandomization0.10.0 package

Mendelian Randomization Package

BF_dist

Generate bootstrap samples for the bootstrapping Fieller's confidence ...

calcium

Data on effect of calcium on fasting glucose (correlated variants)

ci_normal

Calculate confidence intervals using the normal distribution

ci_t

Calculate confidence intervals using the t-distribution

CLR-class

CLR Class

cML_estimate

Estimate with Regular Likelihood

cML_estimate_random

Estimate with Regular Likelihood Using Multiple Random Start Points

cML_SdTheta

Standard Error of Estimated Theta

condFstat

Calculates conditional F-statistic for each risk factor using summariz...

coursedata

Course data

decimals

Produce nicely rounded numbers

DIVW-class

DIVW Class

Egger-class

Egger Class

egger.bounds

Calculates confidence intervals for the MR-Egger method

getter

Applies method $ to different classes

het.weight

Heterogeneity-penalized weight function

invcov_mvmr

Generate the list of inverse of covariance matrices used in `MVMR-cML-...

IVW-class

IVW Class

ldlc

Data on lipid effects on coronary artery disease (uncorrelated variant...

loglikelihood

Calculates log-likelihood with uncorrelated variants in two-sample set...

loglikelihoodcorrel

Calculates log-likelihood with correlated variants in two-sample setti...

loglikelihoodrhocorrel

Calculates log-likelihood with correlation from sample overlap

MaxLik-class

MaxLik Class

mbe_boot

Mode-based estimate (Hartwig) bootstrap function

mbe_est

Mode-based estimate (Hartwig) estimation function

model.prior

Prior weight function

mr_allmethods

Mendelian randomization estimation using all methods

mr_clr

Conditional likelihood ratio (CLR) method

mr_cML

Constrained maximum likelihood (cML) method

mr_conmix

Contamination mixture method

mr_divw

Debiased inverse-variance weighted method

mr_egger

MR-Egger method

mr_forest

Draw a forest plot of causal estimates

mr_funnel

Draw a funnel plot of variant-specific estimates

mr_hetpen

Heterogeneity-penalized method

mr_input

Inputting and formatting data for use in causal estimation

mr_ivw

Inverse-variance weighted method

mr_lasso

MR-Lasso method

mr_loo

Leave-one-out estimates

mr_maxlik

Maximum-likelihood method

mr_mbe

Mode-based method of Hartwig

mr_median

Median-based method

mr_mvcML

Multivariable constrained maximum likelihood method

mr_mvegger

Multivariable MR-Egger method

mr_mvgmm

Multivariable generalized method of moments (GMM) method

mr_mvinput

Inputting and formatting data for use in causal estimation

mr_mvivw

Multivariable inverse-variance weighted method

mr_mvivwme

Multivariable inverse-variance weighted method with measurement error

mr_mvlasso

Multivariable MR-Lasso method

mr_mvmedian

Multivariable median-based method

mr_mvpcgmm

Multivariable principal components generalized method of moments (PC-G...

mr_pcgmm

Univariable principal components generalized method of moments (PC-GMM...

mr_pivw

Penalized inverse-variance weighted method

mr_plot

Draw a scatter plot of the genetic associations and/or causal estimate...

MRAll-class

MRAll Class

MRcML-class

MRcML Class

MRConMix-class

MRConMix Class

MRHetPen-class

MRHetPen Class

MRInput-class

MRInput Class

MRLasso-class

MRLasso class

MRMBE-class

MRMBE Class

MRMVInput-class

MRMVInput Class

mv_norm

Sampling from multivariate normal distribution

MVcML_SdTheta

Standard error estimate for MVMR-cML-BIC

MVEgger-class

MVEgger Class

MVGMM-class

MVGMM Class

MVIVW-class

MVIVW Class

MVIVWME-class

MVIVWME Class

MVLasso-class

MRMVLasso class

MVMedian-class

MRMVMedian class

MVmr_cML

MVMRcML method with Data Perturbation

MVmr_cML_DP

MVMRcML method with Data Perturbation

MVMRcML-class

MVMRcML Class

MVPCGMM-class

MVPCGMM Class

PCGMM-class

PCGMM Class

penalised.weights.delta

Calculates p-values for penalization of weights with second-order weig...

penalised.weights

Calculates p-values for penalization of weights

pheno_input

Extract summarized data from PhenoScanner

phenoscanner

PhenoScanner

PIVW-class

PIVW Class

pl

Profile likelihood of valid IVs

r.weights.delta

Calculates p-values for penalization of weights with second-order weig...

r.weights

Calculates p-values for penalization of weights

simpleCap

Capitalize a word

values

Applies method values() to different output classes

weighted.median.boot.se

Weighted median standard error function

weighted.median

Weighted median function

WeightedMedian-class

WeightedMedian Class

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.

  • Maintainer: Stephen Burgess
  • License: GPL-2 | GPL-3
  • Last published: 2024-04-12