miscellaneous: Dimension Accessor Functions

Description

Functions to extract the higher dimensions from ANALYZE/NIfTI data.

Usage

1
2
3
4
nsli(x)
ntim(x)
NSLI(x)
NTIM(x)

Arguments

x

is a three- or four-dimensional array (e.g., read in from an ANALYZE/NIfTI file).

Details

Simple calls to dim to replicate the functionality of nrow and ncol for higher dimensions of an array that are commonly required when manipulating medical imaging data.

Value

Third (slice) or fourth (time) dimension of the array.

Author(s)

Brandon Whitcher bwhitcher@gmail.com

See Also

readNIfTI, readANALYZE


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.