Learn R Programming

ciftiTools (version 0.3.1)

header_cifti: Get NIFTI header (of a CIFTI)

Description

Wrapper for Connectome Workbench command -nifti-information [fname] -print-header

Usage

header_cifti(cifti_fname)

Arguments

cifti_fname

File path of CIFTI-format data (ending in ".d*.nii").

Value

The header, as a character vector

Connectome Workbench Requirement

This function uses a system wrapper for the 'wb_command' executable. The user must first download and install the Connectome Workbench, available from https://www.humanconnectome.org/software/get-connectome-workbench .