chmAddColormap | R Documentation |
Add a colormap to a Next Generation Clustered Heat Map (NGCHM) and return the extended CHM. Duplicate colormaps will be silently dropped.
chmAddColormap(chm, colormap)
## S4 method for signature 'ngchm,ngchmColormap'
chmAddColormap(chm, colormap)
chm |
The chm to add the colormap to. |
colormap |
The colormap to add to the chm. |
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.
The extended chm.
chmNewColorMap()
ngchmColormap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.