Write per-vertex standard space data for a group of subjects to given file names.
write.group.morph.standard.mf(
filepaths_hl,
data_hl,
format = "auto",
create_dirs = TRUE
)
hemilist
of vectors of character strings, the full paths to the output files, including file names and extension.
hemilist
of numerical matrix or data.frame, the morph data for the hemispheres of all subjects. See groupmorph.split.hemilist
to get this format if you have a full matrix or dataframe for both hemispheres.
character string, a valid format spec for freesurferformats::write.fs.morph
, e.g., "auto" to derive from filename, "mgh", "mgz", "curv" or others.
logical, whether to create missing (sub) directories which occur in the 'filepaths'.
write.group.morph.standard.sf
to write the data to a single stacked file instead.