lookup_run_volumes: Helper function to obtain the number of volumes in a 4D nifti...

lookup_run_volumesR Documentation

Helper function to obtain the number of volumes in a 4D nifti file

Description

Helper function to obtain the number of volumes in a 4D nifti file

Usage

lookup_run_volumes(nifti)

Arguments

nifti

a 4D nifti file

Details

This function prefers to use fslval instead of an internal R library because both oro.nifti and RNifti are rather slow to obtain a single value from the NIfTI header

Value

the number of volumes in nifti


UNCDEPENdLab/fmri.pipeline documentation built on April 3, 2025, 3:21 p.m.