Learn R Programming

neuroim (version 0.0.6)

Layer-class: Layer

Description

A class used for displaying 2D images with color maps

Arguments

Slots

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