| subset,CohortList-method {PDATK} | R Documentation |
CohortListWorks using endoapply of [ over the list SurvivalExperiments
## S4 method for signature 'CohortList' subset(x, subset = TRUE, select = TRUE, invert = FALSE)
x |
A |
subset |
The row query. Defaults to TRUE, i.e., select all. |
select |
The column query. Defaults to TRUE, i.e., select all. |
invert |
A |
A CohortList containing only the rows and columns selected in i
and j, respectively.
data(sampleCohortList) commonGenes <- findCommonGenes(sampleCohortList) commonGenesCohortList <- subset(sampleCohortList, subset=commonGenes)