Function to get all rules in a given sample

get_all_rules(rules, sample_select, all_types, current_class)

Arguments

rules

list, containing the created rules for each sample for each cell type

sample_select

string, selected sample which must be in sample_info$sample

all_types

logical, TRUE: return rules for all cell types in sample, FALSE: returns rules for current cell type

current_class

string, currently selected cell type