as.colors: as.colors

View source: R/as.functions.R

as.colorsR Documentation

as.colors

Description

Return the colors associated to each type of event in 'x', which should be a TRONCO compliant dataset - see is.compliant.

Usage

as.colors(x)

Arguments

x

A TRONCO compliant dataset.

Value

A named vector of colors.

Examples

data(test_dataset)
as.colors(test_dataset)


BIMIB-DISCo/TRONCO documentation built on Nov. 5, 2024, 3:44 a.m.