onefile: Creates the onefile Specification for NIfTI
Description
Changes the magic and vox_offset slots to be
consistent with the onefile option in writeNIfTI. As of
version 0.4.0, oro.nifti did not support the "ni1" magic type
for output.
Arguments
img
is a nifti-class object.
Value
Object of class nifti.