writeNifti(image, file, template = NULL, datatype = "auto")
isImage
).updateNifti
if image
is an array."auto"
uses the R type or, for internal images, the
original datatype. Other possibilities are "float"
, "int16"
,
etc., which may be preferred toreadNifti
, updateNifti