computeTME.Rd
The function takes in a SNP-mediator set-gene triplet and computes the total mediation effect with boots structure
computeTME(snp, expression, mediators, covs, indices)
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 |
estimate of TME