Learn R Programming

freesurfer (version 1.6.8)

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)

Arguments

file

(character) input filename

Value

Object of class nifti