as.alterations: as.alterations

View source: R/as.functions.R

as.alterationsR Documentation

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

data(muts)
as.alterations(muts)


BIMIB-DISCo/TRONCO documentation built on May 7, 2024, 8:13 p.m.