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
`...` | not used.

### Value

data.table

### Examples

    dataDir <- system.file("extdata",package="flowWorkspaceData")
    gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
    gates <- gs_pop_get_gate(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.15.2 Index]