CohortList: Constructor for the CohortList class, a specialized list for...

Description Usage Arguments Value Examples

View source: R/class-CohortList.R

Description

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

Usage

1
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

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

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