"xifti"
object.Write metric GIFTIs for the cortical surface data and NIFTIs for the
subcortical labels and mask in a "xifti"
object. Each present
brainstructure will be written; if a brainstructure is absent the
corresponding file is not written.
write_cifti_components(
xifti,
extn_cifti,
write_dir = NULL,
mwall_fill = NA,
subcort_fill = 0,
verbose = FALSE,
wb_path = NULL
)
Object of class "xifti".
See is.xifti
and make_xifti
.
The CIFTI extension e.g. "dtseries.nii"
Where should the separated
files be placed? NULL
(default) will write them to
the current working directory.
write_dir
must already exist, or an error will occur.
Value to use for the medial wall in the cortex GIFTIs.
Default: NA
.
Value to use for out-of-mask voxels in the subcortex.
Default: 0
.
Should occasional updates be printed? Default: FALSE
.
(Optional) Path to Connectome Workbench folder or executable.
If not provided, should be set with
ciftiTools.setOption("wb_path", "path/to/workbench")
.
List of written files