booleanFilter-class: A class describing logical operation (& or |) of the...

Description Usage Arguments See Also Examples

Description

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

Usage

1
2
3
booleanFilter(expr, ..., filterId = "defaultBooleanFilter")

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

Arguments

expr

expression

...

further arguments to the expression

filterId

character identifier

See Also

add GatingHierarchy

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# "4+/TNFa+" and "4+/IL2+" are two existing gates
#note: no spaces between node names and & , ! operators
booleanFilter(`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)

flowWorkspace documentation built on Nov. 8, 2020, 8:08 p.m.