cvFitOneModel | R Documentation |
cvfitOneModel Train a single subtype model using cross validation
cvFitOneModel(Xbin, Ybin, params = list(max_depth = 2, eta = 0.5, nrounds = 100, nthread = 5, nfold = 5), breakVec = c(0, 0.25, 0.5, 0.75, 1), genes)
Xbin |
Binned and filtered gene expression matrix. |
Ybin |
Binned phenotype vector. |
A single xgboost classifier.
res0 <- trainDataProc(Xmat, Y, cluster='1') dat <- res0$dat modC1 <- fitOneModel(dat$Xbin, dat$Ybin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.