read.fs.morph.ni1 {freesurferformats} | R Documentation |
Read morphometry data from FreeSurfer NIFTI v1 format files.
Description
Read morphometry data from FreeSurfer NIFTI v1 format files.
Usage
read.fs.morph.ni1(filepath)
Arguments
filepath |
path to a file in FreeSurfer NIFTI v1 format, potentially with the FreeSurfer hack. See |
Value
numeric vector, the morphometry data
Note
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.
[Package freesurferformats version 0.1.18 Index]