Filter columns based on categorical row
1 General
- Type: - Matrix Processing
- Heading: - Filter columns
- Source code: FilterCategoricalRow.cs
2 Brief description
Those columns are kept or removed that have the specified value in the selected categorical row.
Output: The filtered matrix.
3 Parameters
3.1 Row
Selected categorical row the filtering is based on (default: first categorical row in the matrix).
3.1.1 Values
Selected values out of all values of the specified categorical row that should be present to keep/discard the column (default: no values are selected).
3.2 Mode
The columns with the selected values will be kept/discarded depending on the selected “Mode” (default: “Remove matching columns”). If “Remove matching columns” is selected, rows having the values will be removed while all other columns will be kept. If “Keep matching columns” is selected, the opposite will happen.
3.3 Filter mode
The “Filter mode” defines, whether the input matrix will be reduced (“Reduce matrix” = default) or a new categorical row called “Filter” will be generated containing the categories “Keep” and “Discard” (“Filter mode” = “Add categorical row”).