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
REPLACE DATA IN A STRUCTURE IN A CIFTI FILE
   wb_command -cifti-replace-structure
      <cifti> - the cifti to modify
      <direction> - which dimension to interpret as a single map, ROW or COLUMN

      [-volume-all] - replace the data in all volume components
         <volume> - the input volume

         [-from-cropped] - the input is cropped to the size of the data

      [-discard-unused-labels] - when operating on a dlabel file, drop any
         unused label keys from the label table

      [-label] - repeatable - replace the data in a surface label component
         <structure> - the structure to replace the data of
         <label> - the input label file

      [-metric] - repeatable - replace the data in a surface component
         <structure> - the structure to replace the data of
         <metric> - the input metric

      [-volume] - repeatable - replace the data in a volume component
         <structure> - the structure to replace the data of
         <volume> - the input volume

         [-from-cropped] - the input is cropped to the size of the component

      You must specify at least one of -metric, -label, -volume, or -volume-all
      for this command to do anything.  Input volumes must line up with the
      output of -cifti-separate.  For dtseries/dscalar, use COLUMN, and if your
      matrix will be fully symmetric, COLUMN is more efficient.  The structure
      argument must be one of the following:

      CORTEX_LEFT
      CORTEX_RIGHT
      CEREBELLUM
      ACCUMBENS_LEFT
      ACCUMBENS_RIGHT
      ALL_GREY_MATTER
      ALL_WHITE_MATTER
      AMYGDALA_LEFT
      AMYGDALA_RIGHT
      BRAIN_STEM
      CAUDATE_LEFT
      CAUDATE_RIGHT
      CEREBELLAR_WHITE_MATTER_LEFT
      CEREBELLAR_WHITE_MATTER_RIGHT
      CEREBELLUM_LEFT
      CEREBELLUM_RIGHT
      CEREBRAL_WHITE_MATTER_LEFT
      CEREBRAL_WHITE_MATTER_RIGHT
      CORTEX
      DIENCEPHALON_VENTRAL_LEFT
      DIENCEPHALON_VENTRAL_RIGHT
      HIPPOCAMPUS_LEFT
      HIPPOCAMPUS_RIGHT
      INVALID
      OTHER
      OTHER_GREY_MATTER
      OTHER_WHITE_MATTER
      PALLIDUM_LEFT
      PALLIDUM_RIGHT
      PUTAMEN_LEFT
      PUTAMEN_RIGHT
      THALAMUS_LEFT
      THALAMUS_RIGHT