validateModel-PCOSP_or_RLS_or_RGA-SurvivalExperiment-method: Validate a PCOSP model with a single SurvivalExperiment...

Description Usage Arguments Value Examples

Description

Validate a PCOSP model with a single SurvivalExperiment object.

Usage

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

Arguments

model

A PCOSP model which has been trained using trainModel.

valData

A SurvivalExperiment to validate the model with.

Value

The PCOSPmodel with the validation statistics in the validationStats slot and the validation data in the validationData slot.

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/PDATK documentation built on Dec. 27, 2021, 7:46 a.m.