Read raw NIFTI v1 data from file (which may contain the FreeSurfer hack).
Source:R/read_nifti1.R
read.nifti1.data.RdRead raw NIFTI v1 data from file (which may contain the FreeSurfer hack).
Arguments
- filepath
path to a NIFTI v1 file (single file version), which can contain the FreeSurfer hack.
- drop_empty_dims
logical, whether to drop empty dimensions in the loaded data array.
- header
optional nifti header obtained from
read.nifti1.header. Will be loaded automatically if left atNULL.