powered by
Constructor for NIfTI class objects.
nifti( img = array(0, dim = rep(1, 4)), dim, datatype = 2, cal.min = NULL, cal.max = NULL, pixdim = NULL, ... )
An object of class nifti.
nifti
is a multidimensional array of data.
is the dimension of the data (default = missing).
missing
is an integer that denotes the type of data contained in each voxel. See convert.datatype or the NIfTI documentation for more details.
convert.datatype
allows user-specified minimum value in the array (visualization purposes only).
allows user-specified pixel dimension vector (length = 8).
allows for additional ‘slots’ to be specified.
Brandon Whitcher bwhitcher@gmail.com
NIfTI-1 http://nifti.nimh.nih.gov/
nifti, anlz, convert.datatype
anlz
options("niftiAuditTrail"=FALSE) nim <- nifti() # default nim nim <- nifti(datatype=4) # 2-byte integers nim
Run the code above in your browser using DataLab