Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Choosing a method

CytePool’s tests compare samples, not cells: each takes one profile per sample, so that a difference is measured against the variation between donors. Cells of one donor share its genetics and environment, and a test that treats them as independent replicates finds differences that do not hold across donors Squair et al., 2021Zimmerman et al., 2021Murphy & Skene, 2022. Pool the cells of each sample and cell type into a cube first (from_cells); the methods below then run on its pseudobulk profiles.

Genes that change in each cell type

The designFunctionWhat it fits
Conditions, with covariates or a pairing as fixed effects, such as ~ donor + conditionlimma_voomLog-CPM values with voom’s precision weights, a weighted linear model, empirical Bayes moderation Law et al., 2014Ritchie et al., 2015
The same, with library sizes within about threefold of each otherlimma_trendLog-CPM values, a linear model, a prior variance that follows the expression level
Several samples of each donor, and a variable that differs between donors, such as disease or sexdream_voomvoom’s weights from mixed models, a random intercept per donor, Satterthwaite’s t-tests, empirical Bayes Hoffman & Roussos, 2021

Each runs on every group (cell type) of a cube, one at a time, and returns a DifferentialExpressionResult with a table for every cell type and contrast (DifferentialExpressionResult.table), a summary, and which samples each fit used and why the others were left out. The limma User’s Guide (sections 15.4 and 15.5) says that limma-trend usually works well when the largest library size is not more than about three times the smallest, and that voom is more powerful when library sizes are quite variable. Pseudobulk library sizes grow with the number of cells pooled, which can differ severalfold between samples, and limma_voom is the default.

A fixed effect per donor (~ donor + condition) compares the samples of each donor with each other, which removes the differences between donors from the noise. It cannot test a variable that is constant within each donor, such as sex: that variable is confounded with the donor effects, and Design.check says so. A random intercept per donor (dream_voom) keeps the correlation between the samples of a donor and still estimates donor-level effects. Mixed models, REML and dream explains the model.

One matrix of counts

Bulk RNA-seq, or one cell type taken out of a cube, is a samples x genes matrix of counts. Three families of methods test it:

All three moderate the variability of each gene by borrowing from the others, and they agree on genes with clear effects. They differ in the scale they model (log counts per million, or counts) and in how they shrink: limma moderates residual variances towards a prior, edgeR moderates quasi-dispersions, DESeq2 shrinks dispersions towards a trend in the mean count. Count models gives the equations. In this version, edgeR’s and DESeq2’s methods run on one matrix at a time, not on every group of a cube.

Other questions

QuestionFunctionsExplained in
Do the genes of a pathway respond together?camera, fry, roast, mroast, romerGene-set tests
Does the share of a cell type change?propellerComposition tests
Do studies agree, and what is their common effect?differential_expression_meta_analysis, meta_analysisMeta-analysis
How many of the calls are false?adjust_p_valuesMultiple testing

Choices that matter in every method

References
  1. Squair, J. W., Gautier, M., Kathe, C., Anderson, M. A., James, N. D., Hutson, T. H., Hudelle, R., Qaiser, T., Matson, K. J. E., Barraud, Q., Levine, A. J., La Manno, G., Skinnider, M. A., & Courtine, G. (2021). Confronting false discoveries in single-cell differential expression. Nature Communications, 12(1), 5692. 10.1038/s41467-021-25960-2
  2. Zimmerman, K. D., Espeland, M. A., & Langefeld, C. D. (2021). A practical solution to pseudoreplication bias in single-cell studies. Nature Communications, 12(1), 738. 10.1038/s41467-021-21038-1
  3. Murphy, A. E., & Skene, N. G. (2022). A balanced measure shows superior performance of pseudobulk methods in single-cell RNA-sequencing analysis. Nature Communications, 13(1), 7851. 10.1038/s41467-022-35519-4
  4. Law, C. W., Chen, Y., Shi, W., & Smyth, G. K. (2014). voom: precision weights unlock linear model analysis tools for RNA-seq read counts. Genome Biology, 15(2), R29. 10.1186/gb-2014-15-2-r29
  5. Ritchie, M. E., Phipson, B., Wu, D., Hu, Y., Law, C. W., Shi, W., & Smyth, G. K. (2015). limma powers differential expression analyses for RNA-sequencing and microarray studies. Nucleic Acids Research, 43(7), e47. 10.1093/nar/gkv007
  6. Hoffman, G. E., & Roussos, P. (2021). Dream: powerful differential expression analysis for repeated measures designs. Bioinformatics, 37(2), 192–201. 10.1093/bioinformatics/btaa687
  7. Chen, Y., Chen, L., Lun, A. T. L., Baldoni, P. L., & Smyth, G. K. (2025). edgeR v4: powerful differential analysis of sequencing data with expanded functionality and improved support for small counts and larger datasets. Nucleic Acids Research, 53(2), gkaf018. 10.1093/nar/gkaf018
  8. Love, M. I., Huber, W., & Anders, S. (2014). Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biology, 15(12), 550. 10.1186/s13059-014-0550-8
  9. Heumos, L., Schaar, A. C., Lance, C., Litinetskaya, A., Drost, F., Zappia, L., Lücken, M. D., Strobl, D. C., Henao, J., Curion, F., Single-cell Best Practices Consortium, Schiller, H. B., & Theis, F. J. (2023). Best practices for single-cell analysis across modalities. Nature Reviews Genetics, 24(8), 550–572. 10.1038/s41576-023-00586-w
  10. Hoffman, G. E., Lee, D., Bendl, J., Prashant, N. M., Hong, A., Casey, C., Alvia, M., Shao, Z., Argyriou, S., Therrien, K., Venkatesh, S., Voloudakis, G., Haroutunian, V., Fullard, J. F., & Roussos, P. (2026). Efficient differential expression analysis of large-scale single-cell transcriptomics data using Dreamlet. Nature Communications, 17(1), 9597. 10.1038/s41467-026-75680-8
  11. Chen, Y., Lun, A. T. L., & Smyth, G. K. (2016). From reads to genes to pathways: differential expression analysis of RNA-Seq experiments using Rsubread and the edgeR quasi-likelihood pipeline. F1000Research, 5, 1438. 10.12688/f1000research.8987.2
  12. Liu, R., Holik, A. Z., Su, S., Jansz, N., Chen, K., Leong, H. S., Blewitt, M. E., Asselin-Labat, M.-L., Smyth, G. K., & Ritchie, M. E. (2015). Why weight? Modelling sample and observational level variability improves power in RNA-seq analyses. Nucleic Acids Research, 43(15), e97. 10.1093/nar/gkv412
  13. Phipson, B., Lee, S., Majewski, I. J., Alexander, W. S., & Smyth, G. K. (2016). Robust hyperparameter estimation protects against hypervariable genes and improves power to detect differential expression. The Annals of Applied Statistics, 10(2), 946–963. 10.1214/16-AOAS920