read.fs.morph.ni1: Read morphometry data from FreeSurfer NIFTI v1 format files.

Description Usage Arguments Value Note

View source: R/read_fs_curv.R

Description

Read morphometry data from FreeSurfer NIFTI v1 format files.

Usage

1

Arguments

filepath

path to a file in FreeSurfer NIFTI v1 format, potentially with the FreeSurfer hack. See read.nifti1.data for details.

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.


freesurferformats documentation built on May 25, 2021, 5:10 p.m.