read_nifti: Wrapper to functions for reading NIFTIs

View source: R/read_nifti.R

read_niftiR Documentation

Wrapper to functions for reading NIFTIs

Description

Tries RNifti::readNifti, then oro.nifti::readNIfTI. If neither package is available an error is raised.

Usage

read_nifti(nifti_fname)

Arguments

nifti_fname

The file name of the NIFTI.

Details

For oro.nifti::readNIFTI the argument reorient=FALSE will be used.

Value

The NIFTI


fMRItools documentation built on April 12, 2025, 1:32 a.m.