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/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.