Description Usage Arguments Details Methods Author(s) See Also
Produce “lightbox” layout of slices for nifti
, anlz
and
afni
objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | slice(x, ...)
## S4 method for signature 'nifti'
slice(
x,
z = 1,
w = 1,
col = gray(0:64/64),
plane = c("axial", "coronal", "sagittal"),
zlim = NULL,
xlab = "",
ylab = "",
axes = FALSE,
oma = rep(0, 4),
mar = rep(0, 4),
bg = "black",
useRaster = TRUE,
...
)
## S4 method for signature 'anlz'
slice(
x,
z = 1,
w = 1,
col = gray(0:64/64),
plane = c("axial", "coronal", "sagittal"),
zlim = NULL,
xlab = "",
ylab = "",
axes = FALSE,
oma = rep(0, 4),
mar = rep(0, 4),
bg = "black",
useRaster = TRUE,
...
)
## S4 method for signature 'array'
slice(x, ...)
## S4 method for signature 'afni'
slice(x, ...)
|
x |
is an object of class |
... |
other arguments to the |
z |
is the slice to be displayed (ignored when |
w |
is the time point to be displayed (4D arrays only). |
col |
is grayscale (by default). |
plane |
is the plane of acquisition to be displayed (choices are ‘axial’, ‘coronal’, ‘sagittal’). |
zlim |
is set to |
xlab |
is set to “” since all margins are set to zero. |
ylab |
is set to “” since all margins are set to zero. |
axes |
is set to |
oma |
is the size of the outer margins in the |
mar |
is the number of lines of margin in the |
bg |
is the background color in the |
useRaster |
if |
Uses the S3 generic function slice
, with medical-image friendly
settings, to display nifti
, anlz
and afni
class objects
in a “lightbox” layout.
Generic function: see
image
.
Produce images for
x
.
Produce images for x
.
Produce images for x
.
Brandon Whitcher bwhitcher@gmail.com
orthographic-methods
, image-methods
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.