validateModel-PCOSP_or_RLS_or_RGA-CohortList-method: Evaluate the Performance of a List of Trained KTSP Models...

Description Usage Arguments Value See Also Examples

Description

Evaluate the Performance of a List of Trained KTSP Models from a PCOSP Model

Usage

1
2
## S4 method for signature 'PCOSP_or_RLS_or_RGA,CohortList'
validateModel(model, valData, ...)

Arguments

model

A PCOSP model which has been trained using trainModel.

valData

A CohortList containing one or more SurvivalExperiments. The first assay in each SurvivalExperiment will be classified using all top scoring KTSP models in models(model).

...

Fallthrough arguments to BiocParallel::bplapply, use this to configure the parallelization settings for this function. For example to specify BPARAM.

Value

The model object with the validationStats and validationData slots occupied.

See Also

BiocParallel::bplapply, switchBox::SWAP.KTSP.Classify

Examples

1
2
3
4
5
6
7
8
9
data(sampleTrainedPCOSPmodel)
data(samplePCOSPpredList)

# Set parallelization settings
BiocParallel::register(BiocParallel::SerialParam())

# Validate model
validatedPCOSPmodel <- validateModel(sampleTrainedPCOSPmodel,
  valData=samplePCOSPpredList)

bhklab/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.