Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
MERGE CIFTI TIMESERIES, SCALAR, OR LABEL FILES wb_command -cifti-merge <cifti-out> - output - output cifti file [-cifti] - repeatable - specify an input cifti file <cifti-in> - a cifti file to use columns from [-column] - repeatable - select a single column to use <column> - the column number (starting from 1) or name [-up-to] - use an inclusive range of columns <last-column> - the number or name of the last column to include [-reverse] - use the range in reverse order Given input CIFTI files which have matching mappings along columns, and for which mappings along rows are the same type, all either series, scalars, or labels, this command concatenates the specified columns horizontally (rows become longer). Example: wb_command -cifti-merge out.dtseries.nii -cifti first.dtseries.nii -column 1 -cifti second.dtseries.nii This example would take the first column from first.dtseries.nii, followed by all columns from second.dtseries.nii, and write these columns to out.dtseries.nii.