Applies a requested 'range' setting if present in makecmap_options. A shared colormap is used for the data of both hemispheres (if present).
common.makecmap.range(
makecmap_options,
lh_data = NULL,
rh_data = NULL,
return_metadata = FALSE
)
named list, with entries 'map': named list, the squash cmap, and 'collayer': hemilist of color vectors
named list of parameters to pass to makecmap
. Must not include the unnamed first parameter, which is derived from 'measure'.
numeric vector, data for left hemisphere.
numeric vector, data for right hemisphere.
logical, whether to return additional metadata as entry 'metadata' in the returned list