Description Usage Arguments Details Examples
View source: R/setGate_Methods.R
update the population node with a flowCore-compatible gate object
1 2 3 | gh_pop_set_gate(obj, y, value, negated = FALSE, ...)
gs_pop_set_gate(obj, y, value, ...)
|
obj |
|
y |
|
value |
|
negated |
|
... |
other aguments |
Usually recompute is followed by this call since updating a gate doesn't re-calculating the cell events within the gate automatically. see filterObject for the gate types that are currently supported.
1 2 3 4 5 6 7 8 9 | ## Not run:
rg1 <- rectangleGate("FSC-H"=c(200,400), "SSC-H"=c(250, 400), filterId="rectangle")
rg2 <- rectangleGate("FSC-H"=c(200,400), "SSC-H"=c(250, 400), filterId="rectangle")
flist <- list(rg1,rg2)
names(flist) <- sampleNames(gs[1:2])
gs_pop_set_gate(gs[1:2], "lymph", flist)
recompute(gs[1:2], "lymph")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.