fortify.polygonGate {ggcyto} | R Documentation |
It converts the boundaries slot into a data.table
## S3 method for class 'polygonGate' fortify(model, data = NULL, nPoints = NULL, ...)
model |
polygonGate |
data |
data range used to reset off-bound gate coordinates to prevent interpolating on the extremely large space unnecessarily. |
nPoints |
not used |
... |
not used. |
data.table
sqrcut <- matrix(c(300,300,600,600,50,300,300,50),ncol=2,nrow=4) colnames(sqrcut) <- c("FSC-H","SSC-H") pg <- polygonGate(filterId="nonDebris", .gate= sqrcut) fortify(pg)