booleanFilter class inherits class expressionFilter and exists for the purpose of methods dispatching.

booleanFilter(expr, ..., filterId = "defaultBooleanFilter")

char2booleanFilter(expr, ..., filterId = "defaultBooleanFilter")

Arguments

expr

expression

...

further arguments to the expression

filterId

character identifier

See also

Examples

# "4+/TNFa+" and "4+/IL2+" are two existing gates #note: no spaces between node names and & , ! operators booleanFilter(`4+/TNFa+&!4+/IL2+`)
#> booleanFilter filter '4+/TNFa+&!4+/IL2+' evaluating the expression: #> 4+/TNFa+&!4+/IL2+
#programmatically n1 <- "4+/TNFa+" n2 <- "4+/IL2+" exprs <- paste0(n1, "&!", n2) call <- substitute(booleanFilter(v), list(v = as.symbol(exprs))) eval(call)
#> booleanFilter filter '4+/TNFa+&!4+/IL2+' evaluating the expression: #> 4+/TNFa+&!4+/IL2+