write_cifti_from_separate {ciftiTools} | R Documentation |
Write a CIFTI file from NIFTI and GIFTI files
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,
names = 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 |
timestart |
If a dense time series ("dtseries.nii") file is being written,
this is starting time. If |
names |
For "dscalar.nii" or "dlabel.nii", these are the column names. |
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.