amplifyTrans: Write out mediator-based trans-eSNP effects

View source: R/amplifyTrans.R

amplifyTransR Documentation

Write out mediator-based trans-eSNP effects

Description

The function takes in the SNP-weights for mediators and writes out the amplified SNP-weights based on

Usage

amplifyTrans(whichMed, medTrainList, lmCaretObj)

Arguments

geneInt

character, identifier for gene of interest

qtlFull

data frame, mediator-gene qtl results

numMed

numeric, user-defined maximum number of correlated mediators

Value

a vector of correlated biomarkers to be treated as mediators


bhattacharya-a-bt/MOSTWAS documentation built on April 6, 2023, 12:20 a.m.