DOI: 10.18129/B9.bioc.ALDEx2  

Analysis Of Differential Abundance Taking Sample and Scale Variation Into Account

Bioconductor version: Release (3.18)

A differential abundance analysis for the comparison of two or more conditions. Useful for analyzing data from standard RNA-seq or meta-RNA-seq assays as well as selected and unselected values from in-vitro sequence selections. Uses a Dirichlet-multinomial model to infer abundance from counts, optimized for three or more experimental replicates. The method infers biological and sampling variation to calculate the expected false discovery rate, given the variation, based on a Wilcoxon Rank Sum test and Welch's t-test (via aldex.ttest), a Kruskal-Wallis test (via, a generalized linear model (via aldex.glm), or a correlation test (via aldex.corr). All tests report predicted p-values and posterior Benjamini-Hochberg corrected p-values. ALDEx2 also calculates expected standardized effect sizes for paired or unpaired study designs. ALDEx2 can now be used to estimate the effect of scale on the results and report on the scale-dependent robustness of results.

Author: Greg Gloor, Andrew Fernandes, Jean Macklaim, Arianne Albert, Matt Links, Thomas Quinn, Jia Rong Wu, Ruth Grace Wong, Brandon Lieng, Michelle Nixon

Maintainer: Greg Gloor <ggloor at>

Citation (from within R, enter citation("ALDEx2")):


To install this package, start R (version "4.3") and enter:

if (!require("BiocManager", quietly = TRUE))


For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:



HTML R Script ANOVA-Like Differential Expression tool for high throughput sequencing data
HTML R Script Incorporating Scale Uncertainty into ALDEx2
PDF   Reference Manual
Text   NEWS


biocViews Bayesian, ChIPSeq, DNASeq, DifferentialExpression, GeneExpression, ImmunoOncology, Metagenomics, Microbiome, Posterior p-value, RNASeq, Scale simulation, Sequencing, Software, Transcriptomics
Version 1.34.0
In Bioconductor since BioC 3.0 (R-3.1) (9 years)
License GPL (>=3)
Depends methods, stats, zCompositions, lattice, latticeExtra
Imports Rfast, BiocParallel, GenomicRanges, IRanges, S4Vectors, SummarizedExperiment, multtest, directlabels
Suggests testthat, BiocStyle, knitr, rmarkdown, purrr, ggpattern, ggplot2, cowplot, tidyverse, magick
Depends On Me omicplotR
Imports Me benchdamic, microbiomeMarker
Suggests Me
Links To Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package ALDEx2_1.34.0.tar.gz
Windows Binary
macOS Binary (x86_64) ALDEx2_1.34.0.tgz
macOS Binary (arm64) ALDEx2_1.34.0.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Bioc Package Browser
Package Short Url
Package Downloads Report Download Stats
Old Source Packages for BioC 3.18 Source Archive

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: