newMriImageMetadataFromTemplate(metadata, imageDims = NA, voxelDims = NA, voxelUnit = NA,
datatype = NA, origin = NA, tags = NA)
MriImageMetadata
object."mm"
.getDataTypeByNiftiCode
.keys
and values
, specifying tags associated with the image.MriImageMetadata
object, like the one specified in the first argument, but with the specified fields replaced by new values. Any field with value NA
(the default except for source
) will be taken from the original metadata object.J.D. Clayden, S. Muñoz Maniega, A.J. Storkey, M.D. King, M.E. Bastin & C.A. Clark (2011). TractoR: Magnetic resonance imaging and tractography with R. Journal of Statistical Software 44(8):1-18.
MriImageMetadata
, MriImage
, getDataTypeByNiftiCode
.