PCOSP: Pancreatic Cancer Overall Survival Predictor (PCOSP)...

Description Usage Arguments Details Value Examples

View source: R/class-PCOSP.R

Description

Pancreatic Cancer Overall Survival Predictor (PCOSP) Constructor

Usage

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

Arguments

trainCohorts

A CohortList or SurivalExperiment containing the training data for the PCOSP model.

minDaysSurvived

An integer indicating the minimum number of day required to be in the 'good' survival group. Any patients below this cut-off will be considered low survival. Default is 365 days.

...

Force subsequent parameters to be named. This parameter is not used.

randomSeed

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

Details

This function assumes there is only 1 assay per SurvivalExperiment.

Value

A PCOSP object with training data in the assays slot, concatenating together the molecular data types and labelling the genes with the data type to ensure the results are easily interpretable.

Examples

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

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