Reads an aseg.stats file from an individual subject

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)
}