Filter columns based on categorical row


Cox Lab


March 18, 2024

1 General

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”).

4 Parameter window