Description Usage Arguments Value See Also Examples
Predict Survival Prognosis Classes and Risk Scores for A CohortList
Using
a PCOSP
, RLSModel
or RGAModel
object.
1 2 | ## S4 method for signature 'SurvivalExperiment,PCOSP_or_RLS_or_RGA'
predictClasses(object, model, ...)
|
object |
A |
model |
A trained |
... |
Fall through arguments to |
A SurvivalExperiment
with the predictions in its metadata and
a column in colData, prob_good_survival
, which contains the proportion
of models which predicted good prognosis for each sample.
BiocParallel::bplapply
, switchBox::SWAP.KTSP.Classify
1 2 3 4 5 6 7 8 9 10 | data(sampleTrainedPCOSPmodel)
data(samplePCSIsurvExp)
# Set parallelization settings
BiocParallel::register(BiocParallel::SerialParam())
# Make predictions
PCOSPpredSurvExp <- predictClasses(samplePCSIsurvExp,
model=sampleTrainedPCOSPmodel)
head(colData(PCOSPpredSurvExp))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.