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
EXCLUDE BRAINORDINATES FROM A CIFTI FILE
   wb_command -cifti-restrict-dense-map
      <cifti-in> - the input cifti
      <direction> - which dimension to change the mapping on (integer, 'ROW',
         or 'COLUMN')
      <cifti-out> - output - the output cifti

      [-cifti-roi] - cifti file containing combined rois
         <roi-cifti> - the rois as a cifti file

      [-left-roi] - vertices to use from left hemisphere
         <roi-metric> - the left roi as a metric file

      [-right-roi] - vertices to use from right hemisphere
         <roi-metric> - the right roi as a metric file

      [-cerebellum-roi] - vertices to use from cerebellum
         <roi-metric> - the cerebellum roi as a metric file

      [-vol-roi] - voxels to use
         <roi-vol> - the roi volume file

      Writes a modified version of <cifti-in>, where all brainordinates outside
      the specified roi(s) are removed from the file.  The direction can be
      either an integer starting from 1, or the strings 'ROW' or 'COLUMN'.  If
      -cifti-roi is specified, no other -*-roi option may be specified.  If not
      using -cifti-roi, any -*-roi options not present will discard the
      relevant structure, if present in the input file.