Learn R Programming

TRONCO (version 2.4.2)

as.colors: 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

Run this code
data(test_dataset)
as.colors(test_dataset)

Run the code above in your browser using DataLab