PCOSP {PDATK} | R Documentation |
Pancreatic Cancer Overall Survival Predictor (PCOSP) Constructor
PCOSP(trainCohorts, minDaysSurvived = 365, ..., randomSeed)
trainCohorts |
A |
minDaysSurvived |
An |
... |
Force subsequent parameters to be named. This parameter is not used. |
randomSeed |
An |
This function assumes there is only 1 assay per
SurvivalExperiment
.
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.
data(sampleICGCmicro) set.seed(1987) PCOSPmodel <- PCOSP(sampleICGCmicro, minDaysSurvived=365, randomSeed=1987)