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.


mandymejia/ciftiTools documentation built on Feb. 28, 2024, 11:20 a.m.