annotate.stages: annotate.stages

View source: R/editing.functions.R

annotate.stagesR 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)


BIMIB-DISCo/TRONCO documentation built on Nov. 5, 2024, 3:44 a.m.