50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

TRONCO (version 2.4.2)

as.types: as.types

Description

Return the types of events for a set of genes which are in 'x', which should be a TRONCO compliant dataset - see is.compliant.

Usage

as.types(x, genes = NA)

Arguments

x
A TRONCO compliant dataset.
genes
A list of genes to consider, if NA all genes are used.

Value

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

Examples

Run this code
data(test_dataset)
as.types(test_dataset)
as.types(test_dataset, genes='TET2')

Run the code above in your browser using DataLab