Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
CORRELATE A CIFTI FILE WITH ANOTHER CIFTI FILE
wb_command -cifti-cross-correlation
<cifti-a> - first input cifti file
<cifti-b> - second input cifti file
<cifti-out> - output - output cifti file
[-weights] - specify column weights
<weight-file> - text file containing one weight per column
[-fisher-z] - apply fisher small z transform (ie, artanh) to correlation
[-mem-limit] - restrict memory usage
<limit-GB> - memory limit in gigabytes
Correlates every row in <cifti-a> with every row in <cifti-b>. The
mapping along columns in <cifti-b> becomes the mapping along rows in the
output.
When using the -fisher-z option, the output is NOT a Z-score, it is
artanh(r), to do further math on this output, consider using -cifti-math.
Restricting the memory usage will make it calculate the output in chunks,
by reading through <cifti-b> multiple times.