Displaying 1 result from an estimated 1 matches for "rectangleg".
Did you mean:
rectangle
2011 Oct 04
0
Adding multiple gates/filters in densityplot
...hod to draw multiple gates through the panel-function,
as curv1filter can also identify multiple peaks automatically and
draw them into a densityplot...
This script works for xyplot but not for densitylot:
library(flowCore)
library(flowViz)
data(GvHD)
Filter1 <- rectangleGate(filterId="Filter1", "FSC-H" = c(0, 200))
Filter2 <- rectangleGate(filterId="Filter1", "FSC-H" = c(300, 400))
xyplot( `SSC-H` ~ `FSC-H` , data=GvHD[[1]],
panel = function(...) {
panel.xyplot.flowset(...)
...