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

View source: R/read_fs_curv.R

read.fs.morph.ni1R 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 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 29, 2024, 5:29 a.m.