make_background: Generate background data for IOS calculation

Description Usage Arguments Value

View source: R/ios_background.R

Description

Generates harmonised dataset of SNP-exposure and SNP-other traits that are possibly associated with suspicious SNPs. It also calculates R squared of SNP-exposure and/or SNP-other traits.

Usage

1
make_background(exp = exp_dat, id_bg = id_bg)

Arguments

exp

Dataset of the instruments for the exposure, obtained using extract_instruments

id_bg

List obtained using background_ids

Value

Data frame


universe77/mr.ios documentation built on Aug. 15, 2020, 9:14 a.m.