Stacked Visualization view
The Stacked Visualization (
) view (figure 7.2) displays the distribution of feature abundances across samples.
Hold the mouse over a colored area to see the corresponding feature name and abundance.
The following options are available in the Side Panel, depending on the type of abundance table. Side Panel settings can be saved and applied to other compatible plots.
Settings palette
- Chart Type. Select one of the following chart types:
- Bar Chart - percentage. Display each sample as a stacked bar scaled to 100%, showing the relative abundance of each feature.
- Bar Chart - counts. Display each sample as a stacked bar whose total height represents the total abundance.
- Area Chart - percentage. Display samples as a stacked area chart scaled to 100%, showing how relative feature abundances vary across samples.
- Area Chart - counts. Display samples as a stacked area chart whose total height represents the total abundance.
- Sort features by. Sort features by Abundance or Name.
- Filter level. Set the maximum number of features displayed individually. Remaining features are grouped as Other.
- Show Other. When checked, display the combined abundance of features grouped as Other.
- Show legend. When checked, display the plot legend.
- Legend entries. Set the maximum number of entries shown in the legend.
- Taxonomic levels. Set the number of taxonomic levels to show.
Data palette
- Aggregate feature. Group features by a taxonomic or resistance classification, or by an available feature-metadata attribute. Abundance values are summed for each group. Choose ID to keep features separate. The available choices depend on the abundance table.
- Aggregate sample. Group samples that share the same value for a selected metadata attribute. Abundance values are summed for each group.
- Sort samples by. Sort samples or sample groups by an available sample-metadata attribute.
- Color. Color features by a compatible taxonomic or resistance classification, or by an available feature-metadata attribute. The available choices depend on the selected feature aggregation and the abundance table. When a hierarchical level is selected, lower levels are shown using different shades of the color assigned to the higher level.
Figure 7.2: Feature abundances for two samples shown using a stacked bar chart with counts.
