runTwoSampleMR: runTwoSampleMR

Description Usage Arguments Value Author(s)

View source: R/MR.R

Description

run TwoSampleMR (single)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
runTwoSampleMR(
  expID,
  outID,
  output = "harmonise",
  p1 = 5e-08,
  r2 = 0.01,
  kb = 1000,
  maf_threshold = 0.01,
  method_list = subset(mr_method_list(), use_by_default)$obj,
  proxies = TRUE
)

Arguments

expID

IDs.

outID

Outcome IDs.

output

output type, harmonise or mr.

p1

Significance threshold.

r2

Clumping r2 cut off.

kb

Clumping distance cutoff.

maf_threshold

MAF threshold to try to infer palindromic SNPs.

method_list

List of methods to use in analysis.

proxies

Look for LD tags?

Value

a MR object

Author(s)

Yuanlong Hu


YuanlongHu/yltool documentation built on Nov. 2, 2021, 5:39 a.m.