Write single hemi per-vertex data for a group of subjects to given file names.
write.group.morph.standard.singlehemi(
filepaths,
data,
format = "auto",
create_dirs = TRUE
)
vector of character strings, the full paths to the output files, including file names and extension.
numerical matrix or data.frame, the morph data for a single hemi (as returned by group.morph.standard
). Number of subjects (columns) must match the length of the 'filepaths'.
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'.