is.templatebrain tests if object is of class
templatebrain
as.character.templatebrain converts template brain to
character vector representation (normally used to extract the short name
i.e. regName).
print.templatebrain prints templatebrain information in
human-readable form
as.im3d converts a template brain to a
nat::im3d object; this is probably useful for
developers.
origin extracts the space origin of a templatebrain
object.
dim extracts the dimensions (in number of pixels) of the
image associated with a templatebrain object.
voxdims extracts the dimensions (in calibrated spatial
units, e.g. microns) of voxels in the image associated with a
templatebrain object.
boundingbox extracts the boundingbox (in calibrated
spatial units, e.g. microns) of the image associated with a templatebrain
object. See boundingbox for details.
Usage
is.templatebrain(x)
# S3 method for templatebrain
as.character(x, field = c("regName", "name"), ...)
# S3 method for templatebrain
print(x, ...)
# S3 method for templatebrain
as.im3d(x, ...)
# S3 method for templatebrain
origin(x, ...)
# S3 method for templatebrain
dim(x, ...)
# S3 method for templatebrain
voxdims(x, ...)
# S3 method for templatebrain
boundingbox(x, ...)
Value
Return values are documented in the generic methods.
is.templatebrain returns a logical indicating whether or not the
object is a templatebrain.
as.character.templatebrain returns a character vector with the
name of the template brain.
dim.templatebrain returns a 3-value integer vector.