fortify.filterList {ggcyto} | R Documentation

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

### Description

It tries to merge with pData that is associated with filterList as attribute 'pd'

### Usage

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

### Arguments

`model` | filterList
`data` | data range used for polygon interpolation
`nPoints` | used for interpolating polygonGates to prevent it from losing shape when truncated by axis limits
`...` | not used.

### Value

data.table

### Examples

    dataDir <- system.file("extdata",package="flowWorkspaceData")
    gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
    gates <- getGate(gs, "CD4")
    gates <- as(gates, "filterList") #must convert list to filterList in order for the method to dispatch properly
    fortify(gates)

[Package ggcyto version 1.10.2 Index]