as.events: as.events

Description Usage Arguments Value Examples

View source: R/as.functions.R

Description

Return all events involving certain genes and of a certain type in 'x', which should be a TRONCO compliant dataset - see is.compliant.

Usage

1
as.events(x, genes = NA, types = NA, keysToNames = FALSE)

Arguments

x

A TRONCO compliant dataset.

genes

The genes to consider, if NA all available genes are used.

types

The types of events to consider, if NA all available types are used.

keysToNames

If TRUE return a list of mnemonic name composed by type + gene

Value

A matrix with 2 columns (event type, gene name) for the events found.

Examples

1
2
3
4
5

TRONCO documentation built on Nov. 8, 2020, 5:51 p.m.