annot2Color: Association of a colour with each annotation level

Description Usage Arguments Details Value Author(s)

View source: R/functions_comp2annot.R

Description

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

Usage

1
  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


Bioconductor-mirror/MineICA documentation built on May 29, 2017, 8:30 a.m.