FreeSurfer has functions to create
tables from raw stats files. If you have
data already merged using the aparcstats2table
or asegstats2table
from FreeSurfer,
this function will read in the data and prepare it
for ggseg.
read_freesurfer_table(path, measure = NULL, ...)
path to the table file
which measure is the table of
additional arguments to read.table
tibble with stats information for subjects from FreeSurfer
if (FALSE) {
file_path <- "all_subj_aseg.txt"
read_freesurfer_table(file_path)
}