Using Workbench Command

Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.

Full Documentation:

Documentation Home
   wb_command -cifti-correlation
      <cifti> - input cifti file
      <cifti-out> - output - output cifti file

      [-roi-override] - perform correlation from a subset of rows to all rows

         [-left-roi] - use an roi for left hempsphere
            <roi-metric> - the left roi as a metric file

         [-right-roi] - use an roi for right hempsphere
            <roi-metric> - the right roi as a metric file

         [-cerebellum-roi] - use an roi for cerebellum
            <roi-metric> - the cerebellum roi as a metric file

         [-vol-roi] - use an roi for volume
            <roi-vol> - the volume roi file

         [-cifti-roi] - use a cifti file for combined rois
            <roi-cifti> - the cifti roi 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

      [-no-demean] - instead of correlation, do dot product of rows, then
         normalize by diagonal

      [-covariance] - compute covariance instead of correlation

      [-mem-limit] - restrict memory usage
         <limit-GB> - memory limit in gigabytes

      For each row (or each row inside an roi if -roi-override is specified),
      correlate to all other rows.  The -cifti-roi suboption to -roi-override
      may not be specified with any other -*-roi suboption, but you may specify
      the other -*-roi suboptions together.

      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,
      and if the input file size is more than 70% of the memory limit, it will
      also read through the input file as rows are required, resulting in
      several passes through the input file (once per chunk).  Memory limit
      does not need to be an integer, you may also specify 0 to calculate a
      single output row at a time (this may be very slow).