Learn R Programming

dcemriS4 (version 0.20.2)

overlay-methods: Methods for Function overlay

Description

Methods for function overlay

Usage

## S3 method for class 'nifti,nifti':
overlay(x, y, z=1, w=1, col.x=gray(0:64/64),
      col.y=hotmetal(), zlim.x=NULL, zlim.y=NULL,
      plot.type=c("multiple","single"), xlab="", ylab="",
      axes=FALSE, ...)
## S3 method for class 'anlz,anlz':
overlay(x, y, z=1, w=1, col.x=gray(0:64/64),
      col.y=hotmetal(), zlim.x=NULL, zlim.y=NULL,
      plot.type=c("multiple","single"), xlab="", ylab="",
      axes=FALSE, ...)

Arguments

x,y
is an object of class "nifti" or "anlz".
z
is the slice to be displayed (ignored when plot.type = "multiple").
w
is the time point to be displayed (4D arrays only).
col.x
is grayscale (by default).
col.y
is hotmetal (by default).
zlim.x,zlim.y
are set to NULL (by default) and taken from the header information.
plot.type
allows the choice between all slices being displayed, in a matrix (left-to-right, top-to-bottom), or a single slice.
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 FALSE since all margins are set to zero.
...
other arguments to the image function may be provided here.

Details

The image command is used multiple times to simultaneously visualize three orthogonal planes in a single multidimensional array of medical imaging data.

See Also

image-methods, overlay-methods