View source: R/trainLocalModel.R
trainLocalModel | R Documentation |
The function runs FUSION-type local-only modeling for a phenotype
trainLocalModel(
phenoInt,
midSNP,
mediator,
medLocs,
covariates,
cisDist = 5e+05,
nfolds = 5,
seed = 1218
)
phenoInt |
character, phenotype name |
midSNP |
snpObject, snp Object in the bigsnpr format |
mediator |
data frame, mediator intensities |
medLocs |
data frame, mediator locations |
covariates |
data frame, covariates in MatrixEQTL format |
cisDist |
numeric, local window, default .5 Mb |
nfolds |
integer, number of folds |
seed |
numeric, random seed |
list with Model, predicted values, and CV-R2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.