sobelTest | R Documentation |
The function takes in a SNP-mediator set-gene triplet and computes the total mediation effect and tests the total mediator effect via a Sobel test (1982)
sobelTest(snp, expression, mediators, covs)
snp |
vector, SNP of interest |
expression |
vector, gene expression of interest |
mediators |
data frame, mediators of interest |
covs |
data frame, covariates |
estimate of TME and Sobel test P-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.