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.

onefile(img)

Arguments

img

is a nifti-class object.

Value

Object of class nifti.

References

NIfTI-1
http://nifti.nimh.nih.gov/

Author

John Muschelli muschellij2@gmail.com