merge,SurvivalExperiment,SurvivalExperiment-method {PDATK} | R Documentation |
SurvivalExperiments
, subsetting to shared rows and columnsMerge two SurvivalExperiments
, subsetting to shared rows and columns
## S4 method for signature 'SurvivalExperiment,SurvivalExperiment' merge(x, y, cohortNames)
x |
A |
y |
A |
cohortNames |
An optional |
A SurvivalExperiment
object with merge data from x and y, and
the assay from each in the assays
slot.
data(sampleICGCmicro) survExp2 <- sampleICGCmicro mergedSurvExp <- merge(survExp2, sampleICGCmicro, cohortNames=c('copyICGCmicro', 'ICGCmicro')) mergedSurvExp