Learn R Programming

ggcyto (version 1.0.5)

fortify.ellipsoidGate: Convert a ellipsoidGate to a data.table useful for ggplot

Description

It interpolates the ellipsoidGate to polygongate before fortifying it.

Usage

"fortify"(model, data = NULL, ...)

Arguments

model
ellipsoidGate
data
data range used for polygon interpolation.
...
not used.

Value

data.table

Examples

Run this code
## Defining the gate
cov <- matrix(c(6879, 3612, 3612, 5215), ncol=2,
              dimnames=list(c("FSC-H", "SSC-H"), c("FSC-H", "SSC-H")))
mean <- c("FSC-H"=430, "SSC-H"=175)
eg <- ellipsoidGate(filterId= "myEllipsoidGate", .gate=cov, mean=mean)
fortify(eg)

Run the code above in your browser using DataLab