annot2Color {MineICA} | R Documentation

## Association of a colour with each annotation level

### Description

Given a data.frame consisting of sample annotations, this function returns a vector which gives a colour per annotation level.

### Usage

      annot2Color(annot)

### Arguments

`annot` | a data.frame containing the sample annotations (of dimension 'samples x annotations').

### Details

Arbitrary colours are attributed to some specific annotations met by the author, and for the remaining annotation levels, the colours are attributed using packages `RColorBrewer` and `rcolorspace`.

### Value

A vector of colours indexed by the annotation levels.

### Author(s)

Anne Biton

[Package MineICA version 1.32.0 Index]