write.group.morph.standard.sf: Write combined data for a group to a single MGH file.

Description Usage Arguments Note

View source: R/fsdir_abstraction_group.R

Description

Write morphometry data for a group into a single MGH or MGZ file.

Usage

1

Arguments

filepath

character string, path to the target file, should end with '.mgh' or '.mgz'.

data

numerical 4d matrix, with first dimension holding 1D data for all vertices of a subject, 2nd and 3rd dimension are of length 1, and 4th dimenions is for each subject.

Note

The file will contain no information on the subject identifiers. The data can be for one or both hemispheres. See group.morph.standard.sf to read the data back into R.


neuroconductor/fsbrain documentation built on Sept. 16, 2020, 2:30 p.m.