ColorMap: Constructor for ColoMap object

View source: R/colormap.R

ColorMapR Documentation

Constructor for ColoMap object

Description

Create color maps

Usage

ColorMap(
  continuous = TRUE,
  colors = NULL,
  dmin = NULL,
  dmax = NULL,
  scaler = NULL,
  mapper = NULL
)

Arguments

continuous

whether colormap is continuous

colors

colors for each data point

dmin

miminum in continuous color map

dmax

maximum in continuous color map

scaler

scaler function from data range to 0-1

mapper

function that maps data to color

Value

an object of class ColorMap


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