MetaCyto is an R package that performs meta-analysis of both flow cytometry and mass cytometry (CyTOF) data. It is able to jointly analyze cytometry data from different studies with diverse sets of markers. MetaCyto carries out the meta-analysis in 4 steps: data collection, data pre-processing, identifying common cell subsets across studies and statistical analysis. In addition to perform meta-analysis, it can also be used to analyze cytometry data from single experiment.


Method 1: Please install dependencies using the following code:

install.packages(c("dplyr", "tidyr", "fastcluster", "ggplot2", "metafor", "cluster"))


After installing all the dependencies, please download the whole package repository, open the “MetaCyto.Rproj” file and click Build&Reload button in RStudio.

Note for CITRUS users: No need to switch back to the default compiler using this method.

Method 2: To install the MetaCyto package, please run the following code:


Note: Some users report errors when installing MetaCyto using this method, due to version issues of R and devtools. If the problem persists after updating R and devtools, please use Method 1.

Note for CITRUS users: If you have changed the compiler for R when installing CITRUS, please switch back to the default compiler.


The best way to learn how to use MetaCyto is through running examples. Three self-contained examples, including code and data, are created to show users how to use MetaCyto for different purposes. They are available in :


A vignette in the form of R Markdown (MetaCyto_Vignette.Rmd) is created to introduce users to MetaCyto. It is available in :


If you use the FlowSOM package, please use the following citation[1]:

Data used in the example is a subset of data from SDY420[2] and SDY736[3] on ImmPort[4].

hzc363/MetaCyto documentation built on July 27, 2020, 2:46 a.m.