read_mgz: Function to load 'FreeSurfer' 'mgz/mgh' file

View source: R/zzz.R

read_mgzR Documentation

Function to load 'FreeSurfer' 'mgz/mgh' file

Description

The function 'read_mgz' is a dynamic wrapper of Python 'nibabel' loader. If no Python is detected, it will switch to built-in function 'read_fs_mgh_mgz', which has limited features.

Usage

read_mgz(path)

Arguments

path

'mgz/mgh' file path

Format

An R function acting as safe wrapper for nibabel.load.


threeBrain documentation built on July 9, 2023, 6:32 p.m.