as.stages {TRONCO} | R Documentation

## 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

    data(test_dataset)
    data(stage)
    test_dataset = annotate.stages(test_dataset, stage)
    as.stages(test_dataset)

[Package TRONCO version 2.20.1 Index]