Layer-class {neuroim} | R Documentation |
A class used for displaying 2D images with color maps
vol
the BrainVolume
that provides the data for the layer.
colorMap
a character vector of colors in hexadecimal rgb format.
Can be generated by calls to rainbow
, heat.colors
, topo.colors
, terrain.colors
or similar functions.
thresh
cut-off value above which vlaues will be made transparent.
axis
the axis index of perpendicular to the xy plane (option: 1,2,3; default is 3)
zero.col
the color pixels with intensity of zero. This value overrides the color from the slot colorMap
alpha
the transparency of the layer