PCOSP {PDATK} | R Documentation

## Pancreatic Cancer Overall Survival Predictor (PCOSP) Constructor

### Description

Pancreatic Cancer Overall Survival Predictor (PCOSP) Constructor

### Usage

    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

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

[Package PDATK version 1.2.0 Index]