Learn R Programming

oro.nifti (version 0.11.4)

scl_slope-methods: Extract Image Attribute scl_slope

Description

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

Usage

scl_slope(object)

# S4 method for nifti scl_slope(object)

scl_slope(object) <- value

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

scl.slope(object)

# S4 method for nifti scl.slope(object)

scl.slope(object) <- value

# S4 method for nifti scl.slope(object) <- value

# S4 method for niftiImage scl_slope(object)

# S4 method for niftiImage scl.slope(object)

Arguments

object

is an object of class nifti or anlz.

value

is the value to assign to the scl_slope field.

Author

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

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/

Examples

Run this code
file = system.file("extdata", "example.nii.gz", package = "RNifti")
img = RNifti::readNifti(file)
scl_slope(img)
scl.slope(img)

Run the code above in your browser using DataLab