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
PERFORM REDUCTION OPERATION ON A CIFTI FILE
   wb_command -cifti-reduce
      <cifti-in> - the cifti file to reduce
      <operation> - the reduction operator to use
      <cifti-out> - output - the output cifti file

      [-direction] - specify what direction to reduce along
         <direction> - the direction (default ROW)

      [-exclude-outliers] - exclude non-numeric values and outliers by standard
         deviation
         <sigma-below> - number of standard deviations below the mean to
            include
         <sigma-above> - number of standard deviations above the mean to
            include

      [-only-numeric] - exclude non-numeric values

      For the specified direction (default ROW), perform a reduction operation
      along that direction.  The direction can be either an integer starting
      from 1, or the strings 'ROW' or 'COLUMN'.  The reduction operators are as
      follows:

      MAX: the maximum value
      MIN: the minimum value
      INDEXMAX: the 1-based index of the maximum value
      INDEXMIN: the 1-based index of the minimum value
      SUM: add all values
      PRODUCT: multiply all values
      MEAN: the mean of the data
      STDEV: the standard deviation (N denominator)
      SAMPSTDEV: the sample standard deviation (N-1 denominator)
      VARIANCE: the variance of the data
      TSNR: mean divided by sample standard deviation (N-1 denominator)
      COV: sample standard deviation (N-1 denominator) divided by mean
      L2NORM: square root of sum of squares
      MEDIAN: the median of the data
      MODE: the mode of the data
      COUNT_NONZERO: the number of nonzero elements in the data