Inferensys

Glossary

DEXSeq

An R/Bioconductor package designed for differential exon usage analysis, which tests for condition-dependent changes in the relative usage of individual exonic regions using a generalized linear model framework.
Governance lead reviewing model governance framework on laptop, policy documents visible, executive office setup.
DIFFERENTIAL EXON USAGE

What is DEXSeq?

DEXSeq is an R/Bioconductor package that tests for condition-dependent changes in the relative usage of individual exonic regions using a generalized linear model framework.

DEXSeq is a statistical software package designed for differential exon usage (DEU) analysis, a method that detects shifts in the relative inclusion or exclusion of specific exons between experimental conditions. Unlike standard differential gene expression tools that aggregate all isoforms into a single gene-level count, DEXSeq models counts for disjoint exonic parts, allowing it to identify alternative splicing events and transcriptional regulation that would otherwise be masked.

The package fits a generalized linear model (GLM) with a negative binomial distribution to account for overdispersion in RNA-seq count data. It tests for an interaction between condition and exon, asking whether the change in expression for a specific exon differs significantly from the gene's overall expression change. This approach provides robust statistical inference for identifying condition-specific isoform switching.

DIFFERENTIAL EXON USAGE

Key Features of DEXSeq

DEXSeq is an R/Bioconductor package that tests for condition-dependent changes in the relative usage of exonic regions using a generalized linear model framework.

01

Exon-Centric Counting

Unlike gene-level tools, DEXSeq partitions genes into non-overlapping exonic counting bins. Each bin corresponds to a unique exonic region, allowing the model to detect differential exon usage (DEU) independently of overall gene expression changes. This granularity captures isoform switching that gene-level analysis masks.

Exon-level
Resolution
02

Generalized Linear Model Framework

DEXSeq employs a negative binomial GLM with an interaction term between exon and condition. This design simultaneously models:

  • Condition effect: Overall expression change
  • Exon effect: Baseline exon inclusion levels
  • Interaction term: The parameter of interest, testing whether the condition effect differs per exon This structure controls for gene-level expression changes, isolating true differential exon usage.
03

Dispersion Estimation and Shrinkage

The package estimates exon-specific dispersions using Cox-Reid profile-adjusted likelihood, then applies empirical Bayes shrinkage to stabilize estimates. A mean-dispersion trend is fit across all counting bins, and individual estimates are shrunk toward this trend. This borrowing of information across exons prevents inflated false positives from highly variable, low-count bins.

04

Visualization of Differential Exon Usage

DEXSeq provides built-in plotting functions to visualize results:

  • Transcript annotation plots: Display known isoforms alongside the gene model
  • Expression plots: Show normalized counts per exon across conditions
  • Fitted expression plots: Overlay the GLM fitted values with confidence intervals
  • MA plots: Visualize the relationship between mean count and fold change per exon These diagnostics help researchers validate computational findings against known transcript structures.
05

Integration with Bioconductor Ecosystem

DEXSeq operates within the Bioconductor framework, accepting input from standard alignment and quantification pipelines:

  • HTSeq-count output in exon-level mode
  • featureCounts with exon-level annotation
  • Rsubread alignments Results are stored as DEXSeqResults objects, compatible with downstream tools like GenomicRanges for annotation overlap and rtracklayer for exporting to genome browsers.
06

Multiple Testing Correction for Exons

DEXSeq applies the Benjamini-Hochberg procedure to control the false discovery rate across all tested exonic regions. The package also implements independent filtering to remove exons with very low counts before p-value adjustment, increasing detection power. Per-gene adjusted p-values are reported to identify genes with at least one differentially used exon, while per-exon adjusted p-values pinpoint the specific regions.

DEXSEQ EXPLAINED

Frequently Asked Questions

Clear, technical answers to the most common questions about DEXSeq, the R/Bioconductor package for detecting differential exon usage from RNA-seq data.

DEXSeq is an R/Bioconductor package designed for differential exon usage (DEU) analysis, which tests for condition-dependent changes in the relative expression of individual exonic regions within a gene. Unlike standard differential gene expression tools that aggregate all reads mapping to a gene, DEXSeq partitions reads into non-overlapping exonic counting bins and fits a generalized linear model (GLM) with an interaction term between condition and exon to determine if the ratio of exon-level counts relative to overall gene expression differs between experimental groups. The model uses a negative binomial distribution to account for overdispersion in count data and applies empirical Bayes shrinkage to stabilize dispersion estimates, particularly for exons with low counts. This approach allows researchers to identify alternative splicing events, isoform switches, and other post-transcriptional regulatory mechanisms that differential gene expression analysis alone would miss.

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.