as.types: as.types

View source: R/as.functions.R

as.typesR Documentation

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

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


BIMIB-DISCo/TRONCO documentation built on July 23, 2024, 12:03 a.m.