annotate.stages {TRONCO} | R Documentation

## annotate.stages

### Description

Annotate stage information on the selected dataset

### Usage

    annotate.stages(x, stages, match.TCGA.patients = FALSE)

### Arguments

`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)

### Value

A TRONCO compliant dataset.

### Examples

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

[Package TRONCO version 2.20.1 Index]