Closed smgogarten closed 7 years ago
What is the intended use of "push"
and "push+intersect"
?
I will check seqSetFilter().
The action="pop"
and action="push"
in seqSetFilter()
allow that users temporarily store the filters without copying the filters to a new variable. E.g. define a function with variant.id input:
your_function <- function(gds, sel.variant)
{
seqSetFilter(gds, variant.id=sel.variant, action="push+set")
on.exit({ seqSetFilter(gds, action="pop") })
# your codes
...
}
fix it with the last github commit.
Using
seqSetFilter
withaction="push+intersect"
does not apply the intersection with the previous filter."intersect"
alone has the correct behavior:But
"push+intersect"
does not: