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
SET THE PALETTE OF A METRIC FILE
   wb_command -metric-palette
      <metric> - the metric to modify
      <mode> - the mapping mode

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

      [-pos-percent] - percentage min/max for positive data coloring
         <pos-min-%> - the percentile for the least positive data
         <pos-max-%> - the percentile for the most positive data

      [-neg-percent] - percentage min/max for negative data coloring
         <neg-min-%> - the percentile for the least negative data
         <neg-max-%> - the percentile for the most negative data

      [-pos-user] - user min/max values for positive data coloring
         <pos-min-user> - the value for the least positive data
         <pos-max-user> - the value for the most positive data

      [-neg-user] - user min/max values for negative data coloring
         <neg-min-user> - the value for the least negative data
         <neg-max-user> - the value for the most negative data

      [-interpolate] - interpolate colors
         <interpolate> - boolean, whether to interpolate

      [-disp-pos] - display positive data
         <display> - boolean, whether to display

      [-disp-neg] - display positive data
         <display> - boolean, whether to display

      [-disp-zero] - display data closer to zero than the min cutoff
         <display> - boolean, whether to display

      [-palette-name] - set the palette used
         <name> - the name of the palette

      [-thresholding] - set the thresholding
         <type> - thresholding setting
         <test> - show values inside or outside thresholds
         <min> - lower threshold
         <max> - upper threshold

      [-inversion] - specify palette inversion
         <type> - the type of inversion

      The original metric file is overwritten with the modified version.  By
      default, all columns of the metric file are adjusted to the new settings,
      use the -column option to change only one column.  Mapping settings not
      specified in options will be taken from the first column.  The <mode>
      argument must be one of the following:

      MODE_AUTO_SCALE
      MODE_AUTO_SCALE_ABSOLUTE_PERCENTAGE
      MODE_AUTO_SCALE_PERCENTAGE
      MODE_USER_SCALE

      The <name> argument to -palette-name must be one of the following:

      ROY-BIG-BL
      videen_style
      Gray_Interp_Positive
      Gray_Interp
      PSYCH-FIXED
      RBGYR20
      RBGYR20P
      RYGBR4_positive
      RGRBR_mirror90_pos
      Orange-Yellow
      POS_NEG_ZERO
      red-yellow
      blue-lightblue
      FSL
      power_surf
      black-red
      black-green
      black-blue
      black-red-positive
      black-green-positive
      black-blue-positive
      blue-black-green
      blue-black-red
      red-black-green
      fsl_red
      fsl_green
      fsl_blue
      fsl_yellow
      RedWhiteBlue
      cool-warm
      spectral
      RY-BC-BL
      magma
      JET256
      PSYCH
      PSYCH-NO-NONE
      ROY-BIG
      clear_brain
      fidl
      raich4_clrmid
      raich6_clrmid
      HSB8_clrmid
      POS_NEG

      The <type> argument to -thresholding must be one of the following:

      THRESHOLD_TYPE_OFF
      THRESHOLD_TYPE_NORMAL
      THRESHOLD_TYPE_FILE

      The <test> argument to -thresholding must be one of the following:

      THRESHOLD_TEST_SHOW_OUTSIDE
      THRESHOLD_TEST_SHOW_INSIDE

      The <type> argument to -inversion must be one of the following:

      OFF
      POSITIVE_WITH_NEGATIVE
      POSITIVE_NEGATIVE_SEPARATE