Learn R Programming

fsbrain (version 0.4.2)

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

Description

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

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 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.