R/read_fs_curv.R
read.fs.morph.ni1.RdRead morphometry data from FreeSurfer NIFTI v1 format files.
read.fs.morph.ni1(filepath)path to a file in FreeSurfer NIFTI v1 format, potentially with the FreeSurfer hack. See read.nifti1.data for details.
numeric vector, the morphometry data
This function uses our internal NIFTI reader that supports NIFTI v1 files with the FreeSurfer hack. This function assumes that the data in a file is a 1D vector and flattens it accordingly. It is not suitable to load NIFTI files with arbitrary dimensions.