oro.nifti (version 0.11.0)

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.

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
# NOT RUN {
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