Getting Started
Data Management
Analysis Pipeline
Visual Exploration
Interactive Analysis
Collaboration
Miscellanous
Learn how to do a compositional analysis using stacked bar plot and how to create analyses that are customized to your research experiment
A compositional analysis can be used to investigate the proportion of cell types in different sample, disease conditions, or any variable of interest in the experiment.
With stacked bar plots you can visualise the proportion of cell types of other groups.
In this example, we will look at proportion of cell types in COVID and healthy samples i.e. the proportion of cell types in healthy and disease groups.
Before starting make sure you have completed these steps
1. From the explorer page, open the stacked bar plot panel.
2. Select the primary and secondary variable. The primary variable will be shown on the x-axis and the secondary variable will be shown as the stacked values for each of the category in the primary variable.
3. Here in this example, we look at the cell types of different disease conditions: COVID-19 and healthy. The stacked bar can be used to quickly visualise the proportions of the cell types in percentages of cells.
4. The stacked bar plot can be customised to highlight specific groups of interest, the statistical data will not be affected. You can learn more about stacked bar plots from this demo: Stacked bar plot
What if I want to compare cells using multiple conditions? For example, I have samples from different tissues (blood and bone marrow) and different conditions (disease and healthy ) and I want to visualise the cell type composition in only blood samples with both disease and healthy condition.
Example steps: