ciftiTools (version 0.1.6.0)

header_cifti: Get NIFTI header (of a CIFTI)

Description

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

Usage

header_cifti(cifti_fname, wb_path = NULL)

Arguments

cifti_fname

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

wb_path

(Optional) Path to Connectome Workbench folder or executable. If not provided, should be set with ciftiTools.setOption("wb_path", "path/to/workbench").

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 . The wb_path argument is the full file path to the Connectome Workbench folder. (The full file path to the 'wb_cmd' executable also works.)