Learn R Programming

TRONCO (version 2.4.2)

annotate.stages: 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

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