Produce orthographic display for nifti
, anlz
and afni
objects.
orthographic.nifti(
x,
y = NULL,
xyz = NULL,
w = 1,
col = gray(0:64/64),
col.y = hotmetal(),
zlim = NULL,
zlim.y = NULL,
crosshairs = TRUE,
col.crosshairs = "red",
xlab = "",
ylab = "",
axes = FALSE,
oma = rep(0, 4),
mar = rep(0, 4),
bg = "black",
text = NULL,
text.color = "white",
text.cex = 2,
...
)orthographic(x, ...)
# S4 method for nifti
orthographic(
x,
y = NULL,
xyz = NULL,
w = 1,
col = gray(0:64/64),
col.y = hotmetal(),
zlim = NULL,
zlim.y = NULL,
crosshairs = TRUE,
col.crosshairs = "red",
xlab = "",
ylab = "",
axes = FALSE,
oma = rep(0, 4),
mar = rep(0, 4),
bg = "black",
text = NULL,
text.color = "white",
text.cex = 2,
...
)
# S4 method for anlz
orthographic(
x,
y = NULL,
xyz = NULL,
w = 1,
col = gray(0:64/64),
col.y = hotmetal(),
zlim = NULL,
zlim.y = NULL,
crosshairs = TRUE,
col.crosshairs = "red",
xlab = "",
ylab = "",
axes = FALSE,
oma = rep(0, 4),
mar = rep(0, 4),
bg = "black",
text = NULL,
text.color = "white",
text.cex = 2,
...
)
# S4 method for array
orthographic(x, ...)
# S4 method for afni
orthographic(x, ...)
is an object of class nifti
or similar.
is an object of class nifti
or similar for the overlay.
is the coordinate for the center of the crosshairs.
is the time point to be displayed (4D arrays only).
is grayscale (by default).
is hotmetal (by default).
is the minimum and maximum ‘z’ values passed into
image
.
is the minimum and maximum ‘z’ values passed into
image
for the overlay.
is a logical value for the presence of crosshairs in all three orthogonal planes (default = TRUE).
is the color of the crosshairs (default = red).
is set to "" since all margins are set to zero.
is set to "" since all margins are set to zero.
is set to FALSE
since all margins are set to zero.
is the size of the outer margins in the par
function.
is the number of lines of margin in the par
function.
is the background color in the par
function.
allows the user to specify text to appear in the fourth (unused) pane.
is the color of the user-specified text (default = “white”.
is the size of the user-specified text (default = 2).
other arguments to the image
function may be provided
here.
Produce orthographic display
for x
.
Produce orthographic display for x
.
Produce orthographic display for x
.
Produce orthographic display for x
.
Brandon Whitcher bwhitcher@gmail.com
image-methods
, overlay-methods
fname = system.file(
file.path("nifti", "mniRL.nii.gz"),
package = "oro.nifti")
eve = readNIfTI(fname)
orthographic(eve)
image(eve, z = 45)
image(eve, z = 45, plot.type = "single")
image(eve, z = c(45, 50), plot.type = "single")
Run the code above in your browser using DataLab