MapToDiscreteColors: map data to discrete color

View source: R/colormap.R

MapToDiscreteColorsR Documentation

map data to discrete color

Description

map data to discrete color

Usage

MapToDiscreteColors(data, cmp = CMPar(), given.cm = NULL)

Arguments

data

numeric vector

cmp

an color map parameter object of class CMPar

given.cm

given color map

Value

an object of ColorMap

Examples

pie(rep(1,6), col=MapToDiscreteColors(c(1:3,10:13))$colors)

wheatmap documentation built on March 18, 2022, 6:43 p.m.