RandomLabelShufflingModel: RandomLabelShufflingModel Constructor

Description Usage Arguments Value Examples

View source: R/class-RLSModel.R

Description

RandomLabelShufflingModel Constructor

Usage

1
RandomLabelShufflingModel(trainCohorts, minDaysSurvived = 365, ..., randomSeed)

Arguments

trainCohorts

A 'SurvivelExperiment' containing training data for the SurvivalModel object.

minDaysSurvived

An integer minimum number of days survived to be classified as a 'good' prognosis.

...

Force subsequent parameters to be named. Not used.

randomSeed

An integer randomSeed that was used to train the model. Users should specify this when initializing a model to ensure reproducibilty.

Value

A SurvivalModel object.

Examples

1
2
3
data(sampleICGCmicro)
set.seed(1987)
RLSmodel <- RLSModel(sampleICGCmicro, minDaysSurvived=365, randomSeed=1987)

bhklab/PDATK documentation built on Dec. 27, 2021, 7:46 a.m.