Transform a mapping matrix, i.e. a data frame that maps each filter state to each module,
to a list specification like the one used in the mapping
attribute of teal_slices
.
Global filters are gathered in one list element.
If a module has no active filters but the global ones, it will not be mentioned in the output.
matrix_to_mapping(mapping_matrix)
Named list
like that in the mapping
attribute of a teal_slices
object.
(data.frame
) of logical vectors where
columns represent modules and row represent teal_slice
s