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

Description Usage Arguments Value Examples

View source: R/fortify.R

Description

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

Usage

1
2
## 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

1
2
3
4
5
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)

ggcyto documentation built on July 15, 2018, 10:01 a.m.