fitSubtypeModel | R Documentation |
fitSubtypeModel Train a single subtype model using cross validation
fitSubtypeModel(Xs, Ys, breakVec = c(0, 0.25, 0.5, 0.75, 1), params = list(max_depth = 2, eta = 0.5, nrounds = 100, nthread = 5, nfold = 5), ptail = 0.05)
Xs |
Gene expression matrix. |
Ys |
Phenotype vector, multiclass |
params |
Parameters for xgboost |
A list of xgboost classifiers, one for each subtype.
mods <- fitSubtypeModel(Xs, Ys, params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.