Functions to analyze Cell-ID's single-cell cytometry data in R, using a tidy framework.
rcell2's functionality is split into four packages:
rcell.dev branch.rcell.cellid package. It offers functions to run CellID from R, and an rmarkdown template showcasing advanced functionality.rcell.magick package.rcell2.examples package contains notebooks on general usage, and on several classification and analysis methods.This package is very well tested in baker's yeast data, and R version 4+.
Provide a defocused brightfield image to CellID, and voila:

Segmentation of yeast cells in a single position.
The image is segmented, cells are identified and tracked over time, and features are computed from morphology and fluorescent signal distribution.

Time series images of one cell, showing different acquisition channels.
With Rcell2, you can load an analize the CellID results freely, using standard R packages.

Background corrected fluorescent signal concentration VS time, plotted with ggplot2.
Most of the dependencies are listed in the DESCRIPTION file, and should install automatically.
We suggest installing the tidyverse meta-package (and use it, you'll not regret it) and devtools:
install.packages(c("tidyverse", "devtools"))
In addition, install EBImage package (required to look at cells) by copying and running the following script:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("EBImage")
Install using devtools, directly from github repo:
devtools::install_github("darksideoftheshmoo/rcell2")
devtools::install_github("darksideoftheshmoo/rcell2", ref = "rcell2.dev") # Development version
The strongly recommended additional packages can be installed by following the instructions below.
These tools are available in the rcell.cellid package.
devtools::install_github("darksideoftheshmoo/rcell2", ref = "rcell2.cellid") # Cell-ID
magick tools for cytometry dataThese tools are available in the rcell.magick package.
devtools::install_github("darksideoftheshmoo/rcell2", ref = "rcell2.magick") # Shiny apps and Magick iamges
We implemented the Hu moments descriptors in R, and use them on masks generated by CellID. Note that the masks must be generated by the the CellID mask_mod branch either by TSV output or by encoding CellIDs in the pixel intensities of boundary and/or interior points.
We recommend using the rcell.cellid package to generate the required input.
The kmeans algotrithm helps filter cells based on clustering of CellID's variables computed from morphological and fluorescence information.
Use k-means and check out images of cells in each cluster. Then, filter them easily by cluster number.
See: ?rcell2::kmeans_clustering

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.