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

View source: R/fortify.R

fortify.filterListR 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

not used

nPoints

not used

...

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)

RGLab/ggcyto documentation built on March 3, 2024, 6:23 p.m.