SurvivalModel: Constructor for a SurvivalModel Object.

Description Usage Arguments Value Examples

View source: R/class-SurvivalModel.R

Description

Constructor for a SurvivalModel Object.

Usage

1
SurvivalModel(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
4
data(sampleICGCmicro)
set.seed(1987)
survModel <- SurvivalModel(sampleICGCmicro, minDaysSurvived=365,
  randomSeed=1987)

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