Inferensys

Glossary

Differential Abundance Testing

A statistical framework that identifies cell populations whose proportions change significantly between experimental conditions, moving beyond differential gene expression to population-level comparisons.
Research scientist tracking AI experiments on laptop, experiment results visible, casual lab environment.
STATISTICAL FRAMEWORK

What is Differential Abundance Testing?

Differential abundance testing is a statistical framework that identifies cell populations whose proportions change significantly between experimental conditions, moving beyond differential gene expression to population-level comparisons.

Differential Abundance Testing is a statistical framework that identifies specific cell populations or clusters whose relative proportions shift significantly between two or more experimental conditions, such as healthy versus diseased tissue. Unlike differential gene expression analysis, which examines molecular changes within a cell type, this method operates at the population level to detect compositional changes in the cellular ecosystem.

The analysis typically begins with a matrix of cell counts per sample and cluster, applying specialized models like Dirichlet-multinomial regression, beta-binomial models, or generalized linear mixed models to account for the compositional nature of the data and inter-sample variability. These methods correct for false positives arising from the inherent constraint that proportions must sum to one, ensuring that detected shifts in cell-type abundance reflect genuine biological expansion or depletion rather than statistical artifacts.

POPULATION-LEVEL COMPARISONS

Key Characteristics of Differential Abundance Testing

Differential abundance testing identifies cell populations whose proportions change significantly between experimental conditions, moving beyond differential gene expression to population-level comparisons.

01

Statistical Framework

Employs generalized linear models (GLMs) and Dirichlet-multinomial regression to model count data while accounting for the compositional nature of proportions. Unlike standard t-tests, these methods handle zero-inflation and overdispersion inherent in single-cell data. Common implementations include DESeq2 and edgeR adapted for pseudobulk aggregation.

02

Pseudobulk Aggregation

A preprocessing strategy that sums gene expression counts across cells within each sample and cell type before testing. This approach:

  • Reduces false positives from inflated sample sizes
  • Respects the biological replicate as the unit of analysis
  • Avoids treating individual cells as independent observations
  • Improves computational efficiency for large-scale comparisons
03

Compositional Data Analysis

Cell type proportions are inherently compositional—an increase in one population forces a relative decrease in others. Methods like scCODA and ANCOM-BC apply log-ratio transformations to break this dependency, enabling valid inference on absolute abundance changes rather than relative shifts.

04

Multiple Testing Correction

Testing dozens of cell types across conditions inflates the family-wise error rate. Differential abundance workflows apply Benjamini-Hochberg false discovery rate correction to control expected false positives. Bonferroni correction is used for more conservative control when specificity is paramount.

05

Mixed-Effects Modeling

Handles repeated measures and paired designs by incorporating random effects for donor or batch identity. Tools like Milo use k-nearest neighbor graphs to test abundance differences in overlapping cellular neighborhoods rather than discrete clusters, capturing continuous population shifts.

06

Visualization Diagnostics

Results are visualized through volcano plots (log-fold change vs. significance), dot plots of proportion changes, and UMAP embeddings colored by condition. These diagnostics validate that detected shifts correspond to genuine biological differences rather than technical artifacts or batch effects.

DIFFERENTIAL ABUNDANCE TESTING

Frequently Asked Questions

Clear, technical answers to common questions about statistical frameworks for comparing cell population proportions across experimental conditions.

Differential abundance testing is a statistical framework that identifies cell populations whose proportions change significantly between experimental conditions, such as disease versus healthy tissue or treated versus untreated samples. Unlike differential gene expression analysis, which examines transcriptional changes within a cell type, differential abundance testing operates at the population level. The workflow typically begins with cell clustering and annotation, followed by counting the number of cells belonging to each cluster per sample. A statistical model—commonly a negative binomial generalized linear model (GLM) or a Dirichlet-multinomial regression—is then fitted to test whether the observed proportional shifts exceed what would be expected from random sampling variation. The framework must account for the compositional nature of the data: an increase in one population necessarily decreases the relative proportion of others, violating the independence assumptions of standard tests. Modern implementations such as Milo, DA-seq, and scCODA incorporate neighborhood-based testing and Bayesian hierarchical modeling to improve sensitivity and control false discovery rates.

COMPARISON

Differential Abundance vs. Differential Expression

A comparison of the analytical goals, data inputs, and statistical frameworks distinguishing population-level compositional analysis from gene-level transcriptional analysis in single-cell studies.

FeatureDifferential AbundanceDifferential Expression

Analytical Unit

Cell population or cluster proportion

Individual gene transcript level

Primary Question

Does the frequency of a cell type change between conditions?

Does the transcriptional output of a gene change within a cell type?

Input Data Type

Cell-level metadata and cluster assignments

Gene-level count matrix

Statistical Framework

Beta-binomial regression, Dirichlet-multinomial models

Negative binomial regression, Wilcoxon rank-sum test

Handles Compositionality

Sensitive to Clustering Resolution

Typical Visualization

Bar charts of cell-type proportions, volcano plots of log-fold changes

Volcano plots, MA plots, heatmaps of top genes

Key R/Bioconductor Tools

miloR, propeller, scCODA, DA-seq

DESeq2, edgeR, limma, MAST, presto

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.