ciftiTools (version 0.1.6.0)

write_cifti_from_separate: Make CIFTI file

Description

Make a CIFTI file from component NIFTI/GIFTI files using the -cifti-create-... Connectome Workbench commands.

Usage

write_cifti_from_separate(
  cifti_fname,
  cortexL_fname = NULL,
  ROIcortexL_fname = NULL,
  cortexR_fname = NULL,
  ROIcortexR_fname = NULL,
  subcortVol_fname = NULL,
  subcortLabs_fname = NULL,
  timestep = NULL,
  timestart = NULL,
  wb_path = NULL
)

Arguments

cifti_fname

Path to the CIFTI to write.

cortexL_fname

The left cortex file.

ROIcortexL_fname

The left cortex ROI file.

cortexR_fname

The right cortex file.

ROIcortexR_fname

The right cortex ROI file.

subcortVol_fname

The subcortical data file.

subcortLabs_fname

The subcortical labels file.

timestep

If a dense time series ("dtseries.nii") file is being written, this is the time between measurements. If NULL, use the Connectome Workbench default (1.0).

timestart

If a dense time series ("dtseries.nii") file is being written, this is starting time. If NULL, use the Connectome Workbench default (0.0).

wb_path

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

Details

Every provided component will be included. The ROIs are only used if the corresponding cortex is provided. Either both or none of the subcortical NIFTIs should be provided.