Learn R Programming

fsbrain (version 0.1.0)

makecmakeopts.merge: Create final `makecmap_options` list

Description

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.

Usage

makecmakeopts.merge(makecmap_options, colormap, default_colormap = squash::jet)

Arguments

makecmap_options

list of `makecmap_options` or `NULL`

colormap

a colormap function or `NULL`

default_colormap

the colormap function to use in case none is found in the other parameters

Value

valid `makecmap_options`