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 Oct. 4, 2024, 1:12 a.m.