Skip to main content

Module output and customization

  • Feature-level group comparison boxplot panels: One panel for each differentially abundant feature, repeated for each abundance test you selected. Within a panel, one boxplot per group shows how that feature’s relative abundance is distributed across groups of interest.
  • Differential prevalence table [1]: A table reporting which features are differentially prevalent (detected in a different proportion of samples) across your groups of interest.
  • Volcano plots: One plot for each pair of groups, repeated for each abundance test you selected. Each point is one feature, placed by how much its abundance differs between the two groups (log2 fold change) and by the strength of the statistical evidence (−log10 of the FDR adjusted p-value).
  • Univariate Statistical testing tables [3]: Three tables reporting the statistical output for the abundance and prevalence test: the Kruskal-Wallis test per feature (always run), the Dunn’s post-hoc pairwise comparisons, and the pairwise differential-abundance results from your selected test.

Feature-level group comparison boxplot panels

Univariate Plot

Feature-level group comparison. The distribution of one feature across groups, one dot per sample. Brackets mark significant pairwise comparisons; the title reports the overall group-level test.

The module produces one boxplot panel for each feature (e.g: microbial taxa, gene, function) whose abundance is significantly different between at least one pair of groups. Within a panel, one boxplot per group summarizes that feature’s counts or relative abundance, one dot marks each sample, and brackets connect the group pairs that are significantly different.

Define which groups to compare

Univariate comparison finds which microbial features are associated with a categorical variable of interest by testing which features are differentially abundant or prevalent between its groups. Select one categorical metadata variable using the Grouping Variable parameter. The values of this variable define the groups that every feature is compared across.

Choosing the right statistical test for group comparison

Univariate Comparison module find abundance and prevalence associations to your variable of interest by running statistical tests on all possible pairwise group combinations. Depending on this, choose which tests you want to use: Differential abundance compares the relative abundance of each feature between groups. Use the Differential Abundance test dropdown to choose which statistical test is used for testing differential abundances:
  • Mann-Whitney U for independent groups (e.g: cross-sectional unrelated subjects)
  • Wilcoxon signed-rank for paired samples (e.g: subjects longitudinally sampled)
  • t-test when comparing distributions that are approximately normal.

Which test fits my design?


First ask: are the same subjects measured in more than one group, or are all subjects different?
  • Use Mann–Whitney U for independent groups.
    Example: You compare the abundance of a species between 10 treated mice and 10 untreated mice. Each mouse appears in only one group, so values cannot be paired across groups. The groups are independent → Mann–Whitney U is appropriate.
  • Use Wilcoxon for paired or matched samples.
    Example: You compare the abundance of a species in the same 10 mice before and after treatment. Each mouse contributes one “before” and one “after” value, so every value has a natural partner from the same animal. The samples are paired → Wilcoxon tests the within-subject change.
Differential prevalence compares how often each feature is detected between groups. Choose the contingency test with Differential Prevalence Test:
  • Boschloo (recommended): an unconditional exact test that keeps the false-positive rate under control and is generally more powerful than Fisher’s exact test in small and moderate samples (Lydersen et al. 2009).
  • Barnard: the most powerful of the three, but computationally heavy and slower to run.
  • Fisher's exact: fast and widely used, but conservative. Lydersen et al. (2009) recommend unconditional tests such as Boschloo instead.
Kruskal-Wallis + Dunn testAlongside your chosen test, a Kruskal-Wallis test with Dunn’s post-hoc always runs. Kruskal-Wallis is a non-parametric test that asks whether a feature’s distribution differs across all groups at once, and Dunn’s post-hoc then identifies which specific group pairs differ. The same logic appears in the alpha diversity group comparisons.

Choose when a feature association counts as significant

Significance brackets and p-values/q-values of boxplot panels are reported when comparisons are reported as statistically significant. Choose statistical significance threshold (usually 0.05) through P-value threshold parameter. Because many features and group pairs are tested at once, the risk of incurring in associations that are false positives increases significantly. This is why p-values are usually adjusted (Q-value) by weighting on how many hypotheses have been tested. Set the False Discovery Rate threshold to decide when a Q-value should be marked as significant. A higher threshold returns more significant results but more false positives; a lower one returns fewer with higher confidence.
Note: a boxplot panel of a feature is displayed only when there’s at least a pair of groups where the differentially abundant feature association was found to be statistically significant.Deciding where to set this threshold depends on the goals of the analysis and how confident you need to be. To produce plots also for exploratory purposes and see feature-level group boxplots panels for features that we suggest to increase the FDR threshold
These FDR thresholds are also what select which features are drawn as boxplot panels, and on each panel only pairs that pass the abundance threshold are marked with a significance bracket.
The P-value threshold is a fallback, not the main cutoff. When a run has too few tests for multiple-testing correction to be meaningful (for example, only one valid comparison for a test), significance falls back to this raw p-value threshold instead of the FDR one. In a normal multi-taxon run, the two FDR thresholds are what matter.

Set how many panels are shown

A real dataset can produce more significant features than are useful to view at once.
  • The Max figures to display parameter limits how many boxplots appear on screen per test, showing only the top results. Note that exporting includes every significant feature’s boxplot, not just those shown on screen.
Samples with no value for the grouping variable are handled by Drop samples with missing metadata.

Why is this plot useful?

  • Reveals associations between a feature and a clinical or experimental variable. It tells you whether a taxon’s abundance is statistically associated with the grouping variable, which is a starting point for relating that microbe to disease, treatment, or other characteristics.
  • Localizes the association to specific groups. The pairwise comparisons show which groups a feature distinguishes, pinpointing where the association is strongest.
  • Separates statistical significance from biological size. Showing the full distribution alongside the p-values lets you judge whether a significant association is also a sizeable, consistent shift, rather than a small difference made significant by sample size.
  • Generates focused, testable hypotheses. Out of thousands of features, it isolates one feature and a specific set of group differences as candidate markers for follow-up.

Volcano plots

Volcano Scalp Vs Cheek

Volcano plot comparing Scalp and Cheek samples. Each point is one species. Points further from the centre changed more, and points higher up have stronger statistical support. Blue species are more abundant on the cheek, red species on the scalp, and grey species show no significant difference.

A Volcano Plot gives a high-level overview of the univariate analysis results for a single pairwise comparison, for example forehead versus scalp, treatment versus control or healthy versus Crohn’s disease, across every feature tested. It shows at a glance how many features differ between the two groups, in which direction and by how much. Each run produces one volcano plot per pair of groups of the Grouping Variable and per Differential Abundance Test selected.

How to read the plot

The most relevant features sit in the upper corners, where large fold changes (effect size, shown as log2 fold change) meet strong statistical support (low q value). Most features cluster at the bottom centre, with small, non-significant changes.
  • X-axis, log2 fold change: shows how much the species changes between the two groups, as a log2 fold change.
  • Y-axis, −log10 of the q-value: shows how confident we can be that the change is real. It plots the q value on a −log10 scale, so the most convincing results end up at the top.

Common Patterns and what they mean

Univariate Statistical Testing tables

Prevalence testing asks whether a feature is detected in a different proportion of samples across groups, rather than whether its amount differs. For each feature, the number of samples where it is present and absent is tabulated per group, and the contingency test you selected in Differential Prevalence Test evaluates whether detection frequency differs more than chance would explain. The results are FDR-corrected using the Diff. Prevalence tests FDR threshold.
Choose your profile. Hover an underlined value to see why it is recommended.

Parameters by profile

Suitable and interpretable. Each species is tested for differences in abundance or prevalence between your groups.
Pre-processing parametersAnalysis parameters

Parameter reference

The metadata column that defines the groups to compare. This is the comparison the whole module performs.Options · Categorical variables from the metadata table associated with the query used to create the analysisDefault · NoneSuggested · A categorical variable reflecting your biological question, such as disease status, treatment, response status, body site, cohort, time point, or HIV profile.
Whether samples with missing values in the grouping variable are removed from the analysis.Options · TRUE or FALSEDefault · TRUE 
One or more tests comparing feature prevalence (how often a feature is detected) across groups.Options · fisher, barnard, boschlooDefault · fisherSuggested · boschloo. Unconditional exact tests are generally more powerful than Fisher’s exact test in small and moderate samples while keeping the false-positive rate under control (Lydersen et al. 2009).
The FDR threshold for reporting significant differential-prevalence results after p-value adjustment.Options · 0.01 to 1.0, step 0.01Default · 0.1
The statistical test used to compare feature abundances between groups. Available when a Grouping Variable is selected. The right test depends on your study design, in particular whether samples are independent or paired/matched. In addition to the test(s) you choose here, Kruskal-Wallis (followed by Dunn’s post-hoc) is always run and reported.Options · Wilcoxon, Mann-Whitney, T-test
Which test fits my design?
First ask: are the same subjects measured in more than one group, or are all subjects different?
  • Use Mann–Whitney U for independent groups.
    Example: You compare the abundance of a species between 10 treated mice and 10 untreated mice. Each mouse appears in only one group, so values cannot be paired across groups. The groups are independent → Mann–Whitney U is appropriate.
  • Use Wilcoxon for paired or matched samples.
    Example: You compare the abundance of a species in the same 10 mice before and after treatment. Each mouse contributes one “before” and one “after” value, so every value has a natural partner from the same animal. The samples are paired → Wilcoxon tests the within-subject change.
Reminder: Equal group sizes do not make a design paired. Two groups of 10 different mice are still independent, and Mann–Whitney U is the correct nonparametric test.
The FDR threshold for reporting significant differential-abundance results after p-value adjustment.Options · 0.01 to 1.0, step 0.01Default · 0.1Suggested · 0.05 for standard analyses; 0.2 for exploratory or small studies; lower for high-dimensional or confirmatory analyses.
Applied after multiple-testing correction. Lower values give a shorter, more conservative list; higher values increase sensitivity and false positives.
Whether the brackets on the boxplots show asterisks or the q-value of each significant group pair. Available when a Grouping Variable is selected.Options · TRUE (asterisks) or FALSE (q-values)Default · FALSESuggested · Leave it FALSE when you need the exact q-value on the figure. Set it to TRUE when many group pairs are significant and the q-values crowd the plot.
The number of asterisks depends on the Differential Abundance Tests FDR Threshold.With a threshold of 0.1, the cutoffs are 0.1, 0.01 and 0.001. A Significance legend to the right of the plot shows the cutoffs used. The exact q-values stay available in the statistical testing tables.
A fallback significance cutoff, applied only when there are too few tests for multiple-testing correction to be meaningful. In normal runs, significance is shown as the FDR thresholds instead, so this parameter usually has no effect.Options · 0.01 to 1.0, step 0.01Default · 0.05
The maximum number of feature-level boxplots shown on screen per test.Options · 0 to 20, step 1Default · 5Suggested · 5 for a concise output; 10–20 to inspect more significant results in the interface.

References