Description Usage Arguments Details
Plot neuroimaging slices in three planes
1 2 3 4 5 6 7 8 9 10 11 | ## Default S3 method:
slices(object, olay = NULL,
rlim1 = c(-Inf, Inf), rlim2 = NULL,
col1 = gray.colors(255),
col2 = rev(rainbow(15, start = 0, end = 0.69)),
center = 1, rev.col2 = FALSE, center.global = TRUE,
main = "Three Planes View", scale = 0.8, alpha = 0.5,
cross = TRUE,
layout = c("clockwise", "counterclockwise"),
origin = c(45, 63, 36), voxelsize = c(2, 2, 2), start,
var = "GlobalImage", id = 1, digits = 4, ...)
|
object |
Volume |
olay |
Overlay (optional) |
rlim1 |
Limits of voxel-values to plot of volume |
rlim2 |
Limits of voxel-values to plot of overlay |
col1 |
Color of volume voxels |
col2 |
Color of overlay voxels |
center |
Choice of color scale. 0: color range from 0 to maximum value; 1: color range minimum to maximum value; 2: color range symmetric: (-1;1)*(signed maximum value); or a vector with the min and max value. |
rev.col2 |
Reverse col2 |
center.global |
color ramge from slice or volume |
main |
Main label |
scale |
scale |
alpha |
transparency |
cross |
if TRUE a cross is plotted at active voxel |
layout |
Layout |
origin |
origin (conversion to real-world coordinates) |
voxelsize |
voxel-size (conversion to real-world coordinates) |
start |
Start at voxel |
var |
Variable in neuro netCDF file |
id |
Image number in 'Variable' |
digits |
number of digits to show in legend |
... |
Additional arguments to lower level arguments |
Wrapper of misc3d::slices3d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.