Learn R Programming

TRONCO (version 2.4.2)

as.alterations: as.alterations

Description

Return a dataset where all events for a gene are merged in a unique event, i.e., a total of gene-level alterations diregarding the event type. Input 'x' is checked to be a TRONCO compliant dataset - see is.compliant.

Usage

as.alterations(x, new.type = "Alteration", new.color = "khaki", silent = FALSE)

Arguments

x
A TRONCO compliant dataset.
new.type
The types label of the new event type, 'Alteration' by default.
new.color
The color of the event new.type, default 'khaki'.
silent
A parameter to disable/enable verbose messages.

Value

A TRONCO compliant dataset with alteration profiles.

Examples

Run this code
data(muts)
as.alterations(muts)

Run the code above in your browser using DataLab