MapToDiscreteColors {wheatmap}R 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)

[Package wheatmap version 0.2.0 Index]