write.group.morph.standard.sf: Reshape and write combined per-vertex data for a group to a single MGH file.
Description
Write morphometry data for a group into a single MGH or MGZ file. In neuroimaging, the first 3 dimensions in the resulting 4D volume file are space, and the 4th is the time/subject dimension.
Usage
write.group.morph.standard.sf(filepath, data)
Arguments
filepath
character string, path to the target file, should end with '.mgh' or '.mgz'.
data
numerical 2D matrix, with the rows identifying the subjects and the columns identifying the vertices.