This function calls asegstats2table to
convert parcellation statistics to a table
(character) vector of subjects
(character paths) vector of input filenames,
e.g. aseg.stats.
(character) output filename
(character) measure to be calculated
(character) separator for the output file. This will be
an attribute of outfile
(logical) if subject does not have parcellation,
should the command skip that subject (TRUE) or error
(FALSE)
(character path) if a different subjects directory
is to be used other than SUBJECTS_DIR from shell, it can be
specified here. Use with care as if the command fail, it may not reset
the SUBJECTS_DIR back correctly after the error
(character) additional options to asegstats2table
(logical) print diagnostic messages
Character filename of output file, with the attribute of the separator
if (have_fs()) {
outfile = asegstats2table(subjects = "bert",
meas = "mean")
}