RandomGeneAssignmentModel: RandomGeneAssignmentModel Constructor

Description Usage Arguments Value Examples

View source: R/class-RGAModel.R

Description

RandomGeneAssignmentModel Constructor

Usage

1
RandomGeneAssignmentModel(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)
RGAmodel <- RGAModel(sampleICGCmicro, minDaysSurvived=365, randomSeed=1987)

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