This function calls asegstats2table to
convert parcellation statistics to a table
asegstats2table(
subjects = NULL,
inputs = NULL,
outfile = NULL,
measure = c("volume", "mean", "std"),
sep = c("tab", "space", "comma", "semicolon"),
skip = FALSE,
subj_dir = NULL,
opts = "",
verbose = TRUE
)| subjects | (character) vector of subjects |
|---|---|
| inputs | (character paths) vector of input filenames,
e.g. |
| outfile | (character) output filename |
| measure | (character) measure to be calculated |
| sep | (character) separator for the output file. This will be
an attribute of |
| skip | (logical) if subject does not have parcellation,
should the command skip that subject ( |
| subj_dir | (character path) if a different subjects directory
is to be used other than |
| opts | (character) additional options to |
| verbose | (logical) print diagnostic messages |
Character filename of output file, with the attribute of the separator
if (have_fs()) {
outfile = asegstats2table(subjects = "bert",
meas = "mean")
}