check_cifti_type: Check CIFTI type

View source: R/info_cifti.R

check_cifti_typeR Documentation

Check CIFTI type

Description

Check that a CIFTI's NIFTI intent matches its file name extension.

Usage

check_cifti_type(intent, extn)

Arguments

intent

The NIFTI intent_code, as a numeric integer

extn

The file name extension, e.g. "dtseries.nii"

Value

If the intent is supported, returns TRUE. If the intent is not supported, an error is raised.


ciftiTools documentation built on June 25, 2024, 9:07 a.m.