renderSlice {neuroim} | R Documentation |
Render a slice at z coordinate
Description
Render a slice at z coordinate
Usage
renderSlice(x, zpos, width, height, colmap, ...)
## S4 method for signature 'Overlay,numeric,numeric,numeric,missing'
renderSlice(x, zpos, width,
height, zero.col = "#000000FF", units = "mm")
## S4 method for signature 'Layer,numeric,numeric,numeric,missing'
renderSlice(x, zpos, width,
height, colmap, zero.col = "#000000FF", units = "mm")
Arguments
x |
the object, e.g. an instance of type |
zpos |
the z coordinate to slice through. |
width |
width of the rendered image |
height |
height of the rendered image |
colmap |
the colors used to map from values to RGBA colors. |
... |
additional arguments |
zero.col |
color used when background intensity is 0. |
units |
grid unit type, e.g. "mm", "inches" |
[Package neuroim version 0.0.6 Index]