Read morphometry data for a group from a matrix in a single MGH or MGZ file.
character string, path to a file in MGH or MGZ format
logical, whether to return a data.frame, like
dataframe or 4d matrix, the morph data. See parameter 'df' for details.
The file has typically been generated by running
mri_surf2surf on the command line, or written from R using
write.group.morph.standard.sf. The file contains no information on the subject identifiers, you need to know the subjects and their order in the file. Same goes for the hemisphere.
write.group.morph.standard.mf to write the data to one file per hemi per subject instead. If you have created the input data file in FreeSurfer based on an FSGD file, you can read the subject identifiers from that FSGD file using
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.