Description Usage Arguments Value Note
Create final makecmap_options to pass to makecmap
from existing 'makecmap_options' and a colormap function. Used in the vis functions, like vis.subject.morph.native
, see the note.
1 | makecmakeopts.merge(makecmap_options, colormap, default_colormap = squash::jet)
|
makecmap_options |
list of ‘makecmap_options' or 'NULL'. Must contain at least the ’colFn' entry pointing to a colormap function. |
colormap |
a colormap function or 'NULL'. Will trigger a warning if not 'NULL'. |
default_colormap |
the colormap function to use in case none is found in the other parameters |
valid 'makecmap_options'
For backwards compatibility, there are currently two different methods (parameters) to specify a colormap in the vis functions. This function merges the information from both methods.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.