Learn R Programming

freesurfer (version 1.8.1)

readmgz: Read MGH or MGZ File

Description

This function calls mri_convert to convert MGH/MGZ files to NIfTI, then reads it in using readnii

Usage

readmgz(file, ...)

readmgh(file, ...)

Value

Object of class nifti

Arguments

file

(character) input filename

...

Additional arguments to pass to fs_cmd