merge-SurvivalExperiment-SurvivalExperiment-method: Merge two 'SurvivalExperiments', subsetting to shared rows...

Description Usage Arguments Value Examples

Description

Merge two SurvivalExperiments, subsetting to shared rows and columns

Usage

1
2
## S4 method for signature 'SurvivalExperiment,SurvivalExperiment'
merge(x, y, cohortNames)

Arguments

x

A SurvivalExperiment.

y

A SurvivalExperiment.

cohortNames

An optional character vector specifying the a name for each SurvivalExperiment.

Value

A SurvivalExperiment object with merge data from x and y, and the assay from each in the assays slot.

Examples

1
2
3
4
5
data(sampleICGCmicro)
survExp2 <- sampleICGCmicro
mergedSurvExp <- merge(survExp2, sampleICGCmicro,
  cohortNames=c('copyICGCmicro', 'ICGCmicro'))
mergedSurvExp

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