Learn R Programming

freesurfer (version 1.6.10)

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