Contents

1 Version Info

R version: R version 3.6.0 (2019-04-26)
Bioconductor version: 3.9
Package version: 1.8.0

2 Sample Workflow

The following psuedo-code illustrates a typical R / Bioconductor session. It makes use of the flow cytometry packages to load, transform and visualize the flow data and gate certain populations in the dataset.

The workflow loads the flowCore, flowStats and flowViz packages and its dependencies. It loads the ITN data with 15 samples, each of which includes, in addition to FSC and SSC, 5 fluorescence channels: CD3, CD4, CD8, CD69 and HLADR.

## Load packages
library(flowCore)
library(flowStats)
library(flowViz) # for flow data visualization

## Load data
data(ITN)
ITN
## A flowSet with 15 experiments.
## 
## An object of class 'AnnotatedDataFrame'
##   rowNames: sample01 sample02 ... sample15 (15 total)
##   varLabels: GroupID SiteCode ... name (7 total)
##   varMetadata: labelDescription
## 
##   column names:
##   FSC SSC CD8 CD69 CD4 CD3 HLADr Time

First, we need to transform all the fluorescence channels. Using a workFlow object can help to keep track of our progress.

## Create a workflow instance and transform data using asinh
wf <- workFlow(ITN)
## Warning: 'workFlow' is deprecated.
## Use 'flowWorkspace::GatingSet' instead.
## See help("Deprecated")
asinh <- arcsinhTransform()
tl <- transformList(colnames(ITN)[3:7], asinh, 
                      transformationId = "asinh")
add(wf, tl)

Next we use the lymphGate function to find the T-cells in the CD3/SSC projection.

## Identify T-cells population
lg <- lymphGate(Data(wf[["asinh"]]), channels=c("SSC", "CD3"),
         preselection="CD4", filterId="TCells", eval=FALSE,
         scale=2.5)
## Warning in subsetKeywords(x, j): NAs introduced by coercion

## Warning in subsetKeywords(x, j): NAs introduced by coercion

## Warning in subsetKeywords(x, j): NAs introduced by coercion
add(wf, lg$n2gate, parent="asinh")
print(xyplot(SSC ~ CD3| PatientID, wf[["TCells+"]],
             par.settings=list(gate=list(col="red", 
             fill="red", alpha=0.3))))

A typical workflow for flow cytometry data analysis in Bioconductor flow packages include data transformation, normalization, filtering, manual gating, semi-automatic gating and automatic clustering if desired. Details can be found in flowWorkFlow.pdf or the vignettes of the flow cytometry packages.

[ Back to top ]

3 Installation and Use

Follow installation instructions to start using these packages. To install the flowCore package and all of its dependencies, evaluate the commands

if (!"BiocManager" %in% rownames(installed.packages()))
     install.packages("BiocManager")
BiocManager::install("flowCore")

Package installation is required only once per R installation. View a full list of available packages.

To use the flowCore package, evaluate the command

library("flowCore")

This instruction is required once in each R session.

[ Back to top ]

4 Exploring Package Content

Packages have extensive help pages, and include vignettes highlighting common use cases. The help pages and vignettes are available from within R. After loading a package, use syntax like

help(package="flowCore")
?read.FCS

to obtain an overview of help on the flowCore package, and the read.FCS function, and

browseVignettes(package="flowCore")

to view vignettes (providing a more comprehensive introduction to package functionality) in the flowCore package. Use

help.start()

to open a web page containing comprehensive help resources.

[ Back to top ]

5 Diverse Assays Resources

The following provide a brief overview of packages useful for analysis of high-throughput assays. More comprehensive workflows can be found in documentation (available from package descriptions) and in Bioconductor publications.

5.1 Flow Cytometry

These packages use standard FCS files, including infrastructure, utilities, visualization and semi-autogating methods for the analysis of flow cytometry data.

flowCore, flowViz, flowQ, flowStats, flowUtils, flowFP, flowTrans,

Algorithms for clustering flow cytometry data are found in these packages:

flowClust, flowMeans, flowMerge, SamSPECTRAL

A typical workflow using the packages flowCore, flowViz, flowQ and flowStats is described in detail in flowWorkFlow.pdf. The data files used in the workflow can be downloaded from here.

5.2 Cell-based Assays

These packages provide data structures and algorithms for cell-based high-throughput screens (HTS).

cellHTS2, RNAither

This package supports the xCELLigence system which contains a series of real-time cell analyzer (RTCA).

RTCA

5.3 High-throughput qPCR Assays

These package provide algorithm for the analysis of cycle threshold (Ct) from quantitative real-time PCR data.

HTqPCR, ddCt, qpcrNorm

5.4 Mass Spectrometry and Proteomics data

These packages provide framework for processing, visualization, and statistical analysis of mass spectral and proteomics data.

clippda, MassArray, MassSpecWavelet, PROcess, flagme, xcms

5.5 Imaging Based Assays

These packages provide infrastructure for image-based phenotyping and automation of other image-related tasks:

EBImage, imageHTS

[ Back to top ]

sessionInfo()
## R version 3.6.0 (2019-04-26)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 18.04.2 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.9-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.9-bioc/R/lib/libRlapack.so
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C              
##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
##  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
##  [1] highthroughputassays_1.8.0 flowViz_1.48.0            
##  [3] lattice_0.20-38            flowStats_3.42.0          
##  [5] flowWorkspace_3.32.0       ncdfFlow_2.30.0           
##  [7] BH_1.69.0-1                RcppArmadillo_0.9.400.2.0 
##  [9] cluster_2.0.9              flowCore_1.50.0           
## [11] BiocStyle_2.12.0          
## 
## loaded via a namespace (and not attached):
##  [1] mclust_5.4.3        Rcpp_1.0.1          mvtnorm_1.0-10     
##  [4] corpcor_1.6.9       assertthat_0.2.1    digest_0.6.18      
##  [7] R6_2.4.0            stats4_3.6.0        pcaPP_1.9-73       
## [10] evaluate_0.13       pillar_1.3.1        zlibbioc_1.30.0    
## [13] rlang_0.3.4         data.table_1.12.2   Rgraphviz_2.28.0   
## [16] hexbin_1.27.2       Matrix_1.2-17       rmarkdown_1.12     
## [19] splines_3.6.0       stringr_1.4.0       munsell_0.5.0      
## [22] compiler_3.6.0      xfun_0.6            pkgconfig_2.0.2    
## [25] BiocGenerics_0.30.0 IDPmisc_1.1.19      htmltools_0.3.6    
## [28] tidyselect_0.2.5    tibble_2.1.1        gridExtra_2.3      
## [31] bookdown_0.9        matrixStats_0.54.0  rrcov_1.4-7        
## [34] crayon_1.3.4        dplyr_0.8.0.1       MASS_7.3-51.4      
## [37] grid_3.6.0          gtable_0.3.0        magrittr_1.5       
## [40] scales_1.0.0        graph_1.62.0        RcppParallel_4.4.2 
## [43] KernSmooth_2.23-15  stringi_1.4.3       latticeExtra_0.6-28
## [46] robustbase_0.93-4   RColorBrewer_1.1-2  tools_3.6.0        
## [49] Biobase_2.44.0      glue_1.3.1          DEoptimR_1.0-8     
## [52] purrr_0.3.2         ks_1.11.4           parallel_3.6.0     
## [55] yaml_2.2.0          colorspace_1.4-1    BiocManager_1.30.4 
## [58] fda_2.4.8           knitr_1.22

[ Back to top ]