CohortList {PDATK} | R Documentation

## Constructor for the CohortList class, a specialized list for storing SurvivalExperiment objects.

### Description

Constructor for the CohortList class, a specialized list for storing SurvivalExperiment objects.

### Usage

    CohortList(..., mDataTypes)

### Arguments

`...` | One or more `SurvivalExperiment` objects.
`mDataTypes` | A `character` vector with the same length as ... which indicates the molecular data type in each cohort. This will be assigned to `mcols` for the `CohortList` as well as to the metadata of each item in the list as `mDataType`.

### Value

A `CohortList` object containing one or more `SurvivalExperiment` objects.

### Examples

    data(sampleICGCmicro)
    set.seed(1987)
    cohortList <- CohortList(list(survExp1=sampleICGCmicro,
      survExp2=sampleICGCmicro), mDataTypes=c('rna_micro', 'rna_micro'))

[Package PDATK version 1.0.2 Index]