chmAddColormap-method: Add a colormap to a NGCHM.

chmAddColormapR Documentation

Add a colormap to a NGCHM.

Description

Add a colormap to a Next Generation Clustered Heat Map (NGCHM) and return the extended CHM. Duplicate colormaps will be silently dropped.

Usage

chmAddColormap(chm, colormap)

## S4 method for signature 'ngchm,ngchmColormap'
chmAddColormap(chm, colormap)

Arguments

chm

The chm to add the colormap to.

colormap

The colormap to add to the chm.

Details

Note that it is not necessary to explicitly add colormaps included with data layers or classification bars. These will be included automatically. Explicitly using this function is only required in order to add additional predefined, but unused colormaps to the NGCHM.

Value

The extended chm.

See Also

chmNewColorMap()

ngchmColormap


bmbroom/NGCHMR documentation built on April 18, 2022, 6:52 p.m.