Skip to content

RGLab/flowWorkspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
mikejiang
Mar 16, 2024
3951e19 · Mar 16, 2024
Jul 12, 2021
Oct 22, 2019
Jan 13, 2024
Jul 30, 2021
Oct 22, 2022
Apr 17, 2019
Aug 17, 2023
Jan 11, 2020
Mar 16, 2024
Aug 20, 2023
Jan 17, 2024
Dec 5, 2019
Dec 15, 2020
Sep 16, 2020
Mar 16, 2024
Jul 10, 2017
Oct 21, 2022
Aug 17, 2023
Jul 1, 2020
Sep 5, 2022
Jun 22, 2020
Jan 11, 2020
Apr 15, 2020

Repository files navigation

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

Build Status

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.

INSTALLATION

# First, install it from bionconductor so that it will pull all the dependent packages automatically
biocManager::install("flowWorkspace") # may be older
# Then, install the latest version from github using devtools package 
install.packages("devtools") 
library(devtools) #load it
install_github("RGLab/flowWorkspace")

Import flowJo workspace

library(flowWorkspace)
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")
gs

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

More examples: