fortify.ellipsoidGate {ggcyto} | R Documentation

## Convert a ellipsoidGate to a data.table useful for ggplot

### Description

It interpolates the ellipsoidGate to polygongate before fortifying it.

### Usage

    ## S3 method for class 'ellipsoidGate'
    fortify(model, data = NULL, ...)

### Arguments

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

### Value

data.table

### Examples

    ## 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)

[Package ggcyto version 1.8.2 Index]