mr: Perform all Mendelian randomization tests

View source: R/mr.R

mrR Documentation

Perform all Mendelian randomization tests

Description

Perform all Mendelian randomization tests

Usage

mr(
  dat,
  parameters = default_parameters(),
  method_list = subset(mr_method_list(), use_by_default)$obj
)

Arguments

dat

Harmonised exposure and outcome data. Output from harmonise_data().

parameters

Parameters to be used for various MR methods. Default is output from default_parameters().

method_list

List of methods to use in analysis. See mr_method_list() for details.

Value

List with the following elements:

mr

Table of MR results

extra

Table of extra results


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