Presto reimplements the Wilcoxon rank-sum test and auROC analysis in highly optimized C++, enabling differential expression analysis on datasets with millions of cells in seconds rather than hours. SeuratWrappers integrates Presto as a drop-in replacement for Seurat’s built-in Wilcoxon test viaDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/satijalab/seurat-wrappers/llms.txt
Use this file to discover all available pages before exploring further.
RunPresto() and RunPrestoAll().
Citation: Korsunsky et al. (2019) Presto scales Wilcoxon and auROC analyses to millions of observations. bioRxiv. PreprintSource: immunogenomics/presto (GitHub)
Installation
Key Functions
RunPresto()— Presto-accelerated equivalent ofFindMarkers(). Finds markers distinguishing one identity class from another (or from all others).RunPrestoAll()— Presto-accelerated equivalent ofFindAllMarkers(). Runs marker detection across all identity classes simultaneously.
WilcoxDETest function with the Presto implementation, then restoring the original on completion.
RunPresto() and RunPrestoAll() only support test.use = "wilcox". For other statistical tests (negbinom, poisson, DESeq2, etc.), use Seurat’s native FindMarkers() and FindAllMarkers() directly.RunPresto Parameters
The Seurat object to test.
Identity class to find markers for. Pass a
phylo object or 'clustertree' to find markers for a tree node.Identity class to compare against. If
NULL, uses all remaining cells as the comparison group.Assay to use for differential expression testing.
Data slot to pull expression values from.
Subset of features to test. If
NULL, tests all features.Minimum log-fold change required for a feature to be tested.
Minimum fraction of cells in either group that must express a feature for it to be tested.
Minimum difference in expression fraction between groups.
If
TRUE, return only positive markers (upregulated in ident.1).Downsample each identity class to this many cells before testing.
Regroup cells by a different metadata field before testing.
Subset to a specific identity class before regrouping. Only relevant when
group.by is set.Run DE on cell embeddings from a dimensionality reduction instead of gene expression.
Logarithm base for fold change calculation.
Random seed for reproducible downsampling.
Minimum number of cells expressing a feature for it to be tested.
Minimum number of cells per group required to run the test.
RunPrestoAll Additional Parameters
Find markers for a specific node in the cluster tree. Requires
BuildClusterTree() to have been run.Only return markers with adjusted p-value below this threshold.
Usage
Setup
Pairwise marker detection with RunPresto
Find markers distinguishing CD14+ Monocytes from B cells:Marker detection across all clusters with RunPrestoAll
Only positive markers, per cluster
Compare against all other cells
Whenident.2 is NULL, the comparison group is all cells not in ident.1: