testTME | R Documentation |
The function runs Sobel or permutation testing
testTME(
i,
mediator,
qtMed,
transSNPs,
pheno,
sobel = F,
nperms = 1000,
cores,
covariates,
parallel = "no"
)
i |
integer, row of data.frame |
mediator |
data.frame, mediator intensities |
qtMed |
data.frame, mediator QTL results |
transSNPs |
vector, character vector of distal-eSNPs |
sobel |
logical, T/F to use Sobel test |
nperms |
integer, number of permutations |
cores |
integer, number of parallel ocres |
covariates |
data.frame, covariates |
parallel |
character, boots input for parallelization |
list with TME and P-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.