computeTME: Compute total mediation effect

View source: R/computeTME.R

computeTMER Documentation

Compute total mediation effect

Description

The function takes in a SNP-mediator set-gene triplet and computes the total mediation effect with boots structure

Usage

computeTME(snp, expression, mediators, covs, indices)

Arguments

snp

vector, SNP of interest

expression

vector, gene expression of interest

mediators

data frame, mediators of interest

covs

data frame, covariates

indices

blank, index for boot package

Value

estimate of TME


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