Learn R Programming

TRONCO (version 2.4.2)

as.stages: as.stages

Description

Return the association sample -> stage, if any. Input 'x' should be a TRONCO compliant dataset - see is.compliant.

Usage

as.stages(x)

Arguments

x
A TRONCO compliant dataset.

Value

A matrix with 1 column annotating stages and rownames as sample IDs.

Examples

Run this code
data(test_dataset)
data(stage)
test_dataset = annotate.stages(test_dataset, stage)
as.stages(test_dataset)

Run the code above in your browser using DataLab