Methods that act on the vox_offset field in the NIfTI/ANALYZE header.

vox_offset(object)

# S4 method for nifti
vox_offset(object)

# S4 method for anlz
vox_offset(object)

vox_offset(object) <- value

# S4 method for nifti
vox_offset(object) <- value

# S4 method for anlz
vox_offset(object) <- value

vox.offset(object)

# S4 method for nifti
vox.offset(object)

# S4 method for anlz
vox.offset(object)

vox.offset(object) <- value

# S4 method for nifti
vox.offset(object) <- value

# S4 method for anlz
vox.offset(object) <- value

# S4 method for niftiImage
vox_offset(object)

# S4 method for niftiImage
vox.offset(object)

Arguments

object

is an object of class nifti or anlz.

value

is the value to assign to the vox_offset field.

Details

See documentation on the ANALYZE and/or NIfTI data standards for more details.

References

ANALYZE 7.5
http://eeg.sourceforge.net/ANALYZE75.pdf
NIfTI-1
http://nifti.nimh.nih.gov/

Author

John Muschelli muschellij2@gmail.com,
Brandon Whitcher bwhitcher@gmail.com

Examples

file = system.file("extdata", "example.nii.gz", package = "RNifti")
img = RNifti::readNifti(file)
vox_offset(img)
#> [1] 352
img = RNifti::readNifti(file)
vox.offset(img)
#> [1] 352