annotate.stages {TRONCO} | R Documentation |
Annotate stage information on the selected dataset
annotate.stages(x, stages, match.TCGA.patients = FALSE)
x |
A TRONCO compliant dataset. |
stages |
A list of stages. Rownames must match samples list of x |
match.TCGA.patients |
Match using TCGA notations (only first 12 characters) |
A TRONCO compliant dataset.
data(test_dataset) data(stage) test_dataset = annotate.stages(test_dataset, stage) as.stages(test_dataset)