Learn R Programming

freesurfer (version 1.6.10)

read_aseg_stats: Read Anatomical Segmentation Statistics

Description

Reads an aseg.stats file from an individual subject

Usage

read_aseg_stats(file)

Value

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

Arguments

file

aseg.stats file from Freesurfer

Examples

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

Run the code above in your browser using DataLab