mv_ivw: Perform IVW multivariable MR

View source: R/multivariable_mr.R

mv_ivwR Documentation

Perform IVW multivariable MR

Description

Performs modified multivariable MR analysis. For each exposure the instruments are selected then all exposures for those SNPs are regressed against the outcome together, weighting for the inverse variance of the outcome.

Usage

mv_ivw(mvdat, pval_threshold = 5e-08)

Arguments

mvdat

Output from mv_harmonise_data().

pval_threshold

P-value threshold to include instruments. The default is 5e-8.

Value

List of results


MRCIEU/TwoSampleMR documentation built on Sept. 28, 2024, 6:51 p.m.