write.group.morph.standard.mf: Write per-vertex standard space data for a group of subjects...

View source: R/fsdir_abstraction_group.R

write.group.morph.standard.mfR Documentation

Write per-vertex standard space data for a group of subjects to given file names.

Description

Write per-vertex standard space data for a group of subjects to given file names.

Usage

write.group.morph.standard.mf(
  filepaths_hl,
  data_hl,
  format = "auto",
  create_dirs = TRUE
)

Arguments

filepaths_hl

hemilist of vectors of character strings, the full paths to the output files, including file names and extension.

data_hl

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.

format

character string, a valid format spec for freesurferformats::write.fs.morph, e.g., "auto" to derive from filename, "mgh", "mgz", "curv" or others.

create_dirs

logical, whether to create missing (sub) directories which occur in the 'filepaths'.

See Also

write.group.morph.standard.sf to write the data to a single stacked file instead.


dfsp-spirit/fsbrain documentation built on Nov. 28, 2024, 10:29 a.m.