flowWorkspace: An infrastructure tool for the hierarchical gated flow cytometry data.

This package is designed to store, query and visualize the hierarchical gated flow data.

It also facilitates the comparison of automated gating methods against manual gating by

importing basic flowJo workspaces into R and replicate the gating from flowJo using the flowCore functionality. Gating hierarchies,

groups of samples, compensation, and transformation are performed so that the output matches the flowJo analysis.

Reporting Bugs or Issues

  • Use the issue template in github when creating a new issue.
  • Follow the instructions in the template (do your background reading).
  • Search and verify that the issue hasn’t already been addressed.
  • Check the Bioconductor support site.
  • Make sure your flow packages are up to date.
  • THEN if your issue persists, file a bug report.

Otherwise, we may close your issue without responding.


# First, install it from bionconductor so that it will pull all the dependent packages automatically
bicLite(flowWorkspace) # may be older
# Then, install the latest version from github using devtools package 
library(devtools) #load it

Import flowJo workspace

dataDir <- system.file("extdata", package="flowWorkspaceData")
wsfile <- list.files(dataDir, pattern="manual.xml",full=TRUE)
ws <- openWorkspace(wsfile);
gs <- parseWorkspace(ws, path = dataDir, name = 4, subset = "CytoTrol_CytoTrol_1.fcs")

#get the first sample
gh <- gs[[1]]
#plot the hierarchy tree
#show all the cell populations(/nodes)
#show the population statistics
#plot the gates