Filter events based on provided context name pattern
Usage
filter_molecular_events(
events,
filters,
condition = NULL,
remove_all_group = FALSE
)
Arguments
- events
A character vector of event names
- filters
A data frame with character column of type_pattern, valid_pattern, and exclude_pattern.
- condition
Optional label context name
- remove_all_group
Logical if TRUE, removes all events from the same group and character-defined context.