as.stages {TRONCO} | R Documentation |
Return the association sample -> stage, if any. Input 'x' should be a
TRONCO compliant dataset - see is.compliant
.
as.stages(x)
x |
A TRONCO compliant dataset. |
A matrix with 1 column annotating stages and rownames as sample IDs.
data(test_dataset) data(stage) test_dataset = annotate.stages(test_dataset, stage) as.stages(test_dataset)