as.colors {TRONCO} | R 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)

[Package TRONCO version 2.24.0 Index]