Reads an aseg.stats file from an individual subject

read_aseg_stats(file, lowercase = TRUE)

Arguments

file

aseg.stats file from Freesurfer

lowercase

should the measures and values be lowercase (`TRUE`) or kept as is?

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