read_aseg_stats: Read Anatomical Segmentation Statistics

View source: R/read_aseg_stats.R

read_aseg_statsR Documentation

Read Anatomical Segmentation Statistics

Description

Reads an aseg.stats file from an individual subject

Usage

read_aseg_stats(file)

Arguments

file

aseg.stats file from Freesurfer

Value

List of 2 data.frames, one with the global measures and one with the structure-specific measures.

Examples

if (have_fs()) {
 file = file.path(fs_subj_dir(), "bert", "stats", "aseg.stats")
 out = read_aseg_stats(file)
}

muschellij2/freesurfer documentation built on Nov. 28, 2023, 4:45 a.m.