mr_heterogeneity: Get heterogeneity statistics

View source: R/heterogeneity.R

mr_heterogeneityR Documentation

Get heterogeneity statistics

Description

Get heterogeneity statistics.

Usage

mr_heterogeneity(
  dat,
  parameters = default_parameters(),
  method_list = subset(mr_method_list(), heterogeneity_test & 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

Data frame


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