View source: R/CVFitMediator.R
CVFitMediator | R Documentation |
The function trains a predictive model on the given training split and then predicts the genetically regulated intensity of it in the test split.
CVFitMediator(
foldNum,
parts.train,
parts.test,
pheno,
snpCur,
parallel = T,
fixedEffects = NULL
)
foldNum |
integer, which fold of the k splits |
parts.train |
list, list of training indices |
parts.test |
list, list of test indices |
pheno |
vector, vector of standardized intensities of biomarker |
snpCur |
matrix, matrix of cis-genotypes to biomarker |
parallel |
logical, run in parallel? |
data frame of elastic net, lasso, and LMM based predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.