cytofkit Shiny APP is integrated into the cytofkit pacakge, and can be deployed locally using the following command:
require(cytofkit)
cytofkitShinyAPP()
cytofkit Shiny APP is also hosted by shinyapps.io, and can be used through the public link: cytofkitShinyAPP
After the analysis was done using cytofkit, a special RData file will be saved with suffix of .RData
. This RData file is saved for loading to the shiny APP to explore the results (The RData file used in this vignette can be found on the github ).
Click the top-left Choose File
button to choose RData file, then click the submit
button below to load the data.
For use on servers, the Server File Select
button can be used to load data directly from server without storing it locally.
As shown in the figure above, there are one side panel and one main panel for the cytofkit shiny APP.
Inside the cluster panel, there are three tab panels, Cluster Plot, Annotate Clusters and Run FlowSOM.
Cluster Plot: visualize the clusters on the scatter plot of dimensionality reduced data. Use Plot Data
to choose the dimensionality reduced data, and Plot Option
to choose clustering results. Point size and label size can be adjusted to fit your needs.
Annotate Clusters: clusters can be annotated with cell population names. Once submitted, an annotated clustering option will be added to Plot Option
.
Run FlowSOM: if the clustering results doesn’t make sense, another clustering option named FlowSOM can be tried. For FlowSOM, you need to specify the number of clusters. Once done, a FlowSOM clustering results will be added to Plot Option
.
Marker Panel facilitates the annotation of clusters, it contains three tab panels: Level Plot, Histogram and Heat Map.
Level Plot: visualize the expression level of selected marker on dimensionality reduced data, like on t-SNE. In Plot Marker
, you can also select all markers to visualize the expression level of all markers in one plot.
Histogram: check and compare the histogram of selected markers among different clusters or samples.
Heat Map: an overview of the expression profile of all clusters on all markers.
Sample Panel allows checking the change of subset abundance among samples, as well as regrouping samples, it includes two tab panels: Cell Counts and Group Samples.
Cell Counts: check the cell counts in each cluster among each samples in a table, in a line plot or in a percentage heat map.
Group Samples: regroup the samples.
Progression Panel helps estimate the relationship among subsets, it’s targeted to detect the subset progression path automatically through diffusion map or ISOMAP. It has three tab panels: Subset Relationship Plot, Marker Expression Profile and Run Diffusion Map.
Subset Relationship Plot: a scatter plot showing the estimated relationship of the clusters.
Marker Expression Profile: show the expression trend of selected markers along a selected ordering method with a regression line.
Run Diffusion Map: combine the diffusion map with the clustering results to infer inter-subset relatedness. Firstly, down-sampled the number of cells in each cluster to an equal size, thus reducing the cell subsets density heterogeneities and removing the dominance effect of large populations in the data. Then run diffusion map on the down-sampled dataset.