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
MASK A METRIC FILE
   wb_command -metric-mask
      <metric> - the input metric
      <mask> - the mask metric
      <metric-out> - output - the output metric

      [-column] - select a single column
         <column> - the column number or name

      By default, the output metric is a copy of the input metric, but with
      zeros wherever the mask metric is zero or negative.  if -column is
      specified, the output contains only one column, the masked version of the
      specified input column.