Description Usage Arguments Value Examples
Assign Subtype Annotations to a SurvivalExperiment Object
1 2 3 4 5 6 7 8 | ## S4 method for signature 'CohortList,list'
assignSubtypes(
object,
subtypes,
...,
sampleCol = "sample_name",
subtypeCol = "subtype"
)
|
object |
A |
subtypes |
A |
... |
Catch unnamed parameters. Not used. |
sampleCol |
A |
subtypeCol |
A |
The CohortList
with the subtypes in the subtypes
column
of the colData slot and a metadata item, hasSubtypes
, set to TRUE for
each SurvivalExperiment
.
1 2 3 4 5 6 7 | data(sampleCohortList)
data(cohortSubtypeDFs)
cohortList <- assignSubtypes(sampleCohortList,
subtypes=cohortSubtypeDFs[names(sampleCohortList)],
sampleCol='sample_name',
subtypeCol='subtype')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.