pyComBat, a Python tool for batch effects correction in high-throughput molecular data using empirical Bayes methods
Open accessPublished version of a preprint
The DOI matches its Crossref record; 38 of the 38 references it cites were found in a registry or an index.
Abstract
Background: Variability in datasets is not only the product of biological processes: they are also the product of technical biases. ComBat and ComBat-Seq are among the most widely used tools for correcting those technical biases, called batch effects, in, respectively, microarray and RNA-Seq expression data. Results: In this technical note, we present a new Python implementation of ComBat and ComBat-Seq. While the mathematical framework is strictly the same, we show here that our implementations: (i) have similar results in terms of batch effects correction; (ii) are as fast or faster than the original implementations in R and; (iii) offer new tools for the bioinformatics community to participate in its development. pyComBat is implemented in the Python language and is distributed under GPL-3.0 ( https://www.gnu.org/licenses/gpl-3.0.en.html ) license as a module of the inmoose package. Source code is available at https://github.com/epigenelabs/inmoose and Python package at https://pypi.org/project/inmoose . Conclusions: We present a new Python implementation of state-of-the-art tools ComBat and ComBat-Seq for the correction of batch effects in microarray and RNA-Seq data. This new implementation, based on the same mathematical frameworks as ComBat and ComBat-Seq, offers similar power for batch effect correction, at reduced computational cost.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
limma powers differential expression analyses for RNA-sequencing and microarray studies
Ritchie, M. E., Phipson, B., Wu, D., Hu, Y., Law, C. W., Shi, W., & Smyth, G. K. (2015) · Nucleic Acids Research · doi:10.1093/nar/gkv007 · Cited by 40,458 · cited 1×
“56.2) [16], comparing 62 Normal tissue and 615 Primary tumor samples.”
BackgroundInfluentialData Structures for Statistical Computing in Python
McKinney, W. (2010) · Proceedings of the Python in Science Conference · doi:10.25080/majora-92bf1922-00a · Cited by 11,032
Exploration, normalization, and summaries of high density oligonucleotide array probe level data
Irizarry, R. A. (2003) · Biostatistics · doi:10.1093/biostatistics/4.2.249 · Cited by 10,603
Fast, sensitive and accurate integration of single-cell data with Harmony
Korsunsky, I., Millard, N., Fan, J., Slowikowski, K., Zhang, F., Wei, K., Baglaenko, Y., Brenner, M., Loh, P.-R., & Raychaudhuri, S. (2019) · Nature Methods · doi:10.1038/s41592-019-0619-0 · Cited by 10,488 · cited 1×
“…lifelines [20], a library dedicated to survival analysis, scanpy [12] (a library dedicated to the analysis of single-cell omic data) or quickly ported in Python from R ( e.g. harmony [21], an R library for integrating single cell data, DESeq2, an R library for differential expression analysis).”
BackgroundThe NumPy Array: A Structure for Efficient Numerical Computation
van der Walt, S., Colbert, S. C., & Varoquaux, G. (2011) · Computing in Science & Engineering · doi:10.1109/mcse.2011.37 · Cited by 9,381
SCANPY: large-scale single-cell gene expression data analysis
Wolf, F. A., Angerer, P., & Theis, F. J. (2018) · Genome Biology · doi:10.1186/s13059-017-1382-0 · Cited by 8,881 · cited 2×
“In comparison to both the R implementation and the existing Python implementation of ComBat in the single-cell analysis library Scanpy [12], we show that pyComBat yields similar results for adjusting for batch effects in microarray data, but is generally faster, in particular for the usually slow,…”
MethodAdjusting batch effects in microarray expression data using empirical Bayes methods
Johnson, W. E., Li, C., & Rabinovic, A. (2007) · Biostatistics · doi:10.1093/biostatistics/kxj037 · Cited by 8,658
Comprehensive molecular characterization of human colon and rectal cancer
The Cancer Genome Atlas Network (2012) · Nature · doi:10.1038/nature11252 · Cited by 8,499
Leek, J. T., Johnson, W. E., Parker, H. S., Jaffe, A. E., & Storey, J. D. (2012) · Bioinformatics · doi:10.1093/bioinformatics/bts034 · Cited by 6,231 · cited 1×
“ComBat, originally implemented in the R library sva [8], is based on the mathematical framework defined in [9].”
MethodNextflow enables reproducible computational workflows
Di Tommaso, P., Chatzou, M., Floden, E. W., Barja, P. P., Palumbo, E., & Notredame, C. (2017) · Nature Biotechnology · doi:10.1038/nbt.3820 · Cited by 4,001 · cited 1×
“Workflow languages (such as Snakemake [17] or Nextflow [18]) and interoperability libraries (such as rpy2 [19]) still need to translate and copy data from one language to the other.”
Background
Cited by
OmicVerse: a framework for bridging and deepening insights across bulk and single-cell sequencing
Zeng, Z., Ma, Y., Hu, L., Tan, B., Liu, P., Wang, Y., Xing, C., Xiong, Y., & Du, H. (2024) · Nature Communications · doi:10.1038/s41467-024-50194-3 · Cited by 102
“Incorporating a suite of state-of-the-art scRNA-seq algorithms, OmicVerse ’ s integrated toolset includes pyHarmony 46 , pyCombat 38 , scanorama 47 for batch correction, pySCSA 48 , updated with CellMarker 49 2.0 and CancerSEA 50 for enhanced cell-type annotation, CellPhoneDB 12 for cell-cell…”
InfluentialBorràs, D. M., Verbandt, S., Ausserhofer, M., Sturm, G., Lim, J., Verge, G. A., Vanmeerbeek, I., Laureano, R. S., Govaerts, J., Sprooten, J., et al. (2023) · Cell Discovery · doi:10.1038/s41421-023-00605-4 · Cited by 67
Perspectives for better batch effect correction in mass-spectrometry-based proteomics
Phua, S.-X., Lim, K.-P., & Goh, W. W.-B. (2022) · Computational and Structural Biotechnology Journal · doi:10.1016/j.csbj.2022.08.022 · Cited by 42
“To correct for BEs, we used the Python implementation of ComBat [8], pyCombat [39], available at https://epigenelabs.”
MethodNeely, J., Hartoularos, G., Bunis, D., Sun, Y., Lee, D., Kim, S., Ye, C. J., & Sirota, M. (2022) · Frontiers in Immunology · doi:10.3389/fimmu.2022.902232 · Cited by 26
Maarseveen, T. D., Glas, H. K., Veris-van Dieren, J., van den Akker, E., & Knevel, R. (2025) · npj Digital Medicine · doi:10.1038/s41746-025-01495-4 · Cited by 17
Metadata
- Authors
- Behdenna, A., Colange, M., Haziza, J., Gema, A., Appé, G., Azencott, C.-A., & Nordor, A.
- Venue
- BMC Bioinformatics
- Published
- 2023-12-07
- Volume
- 24
- Issue
- 1
- Pages
- 459-459
- ISSN
- 1471-2105 (ISSN-L)
- OpenAlex
- W4389410347
- Cited by
- 165
- References
- 38
- FWCI
- 11.58
- Type
- journal article
- Language
- en
- Open access
- gold
- Licence
- creativecommons.org/licenses/by/4.0 (tdm)
- creativecommons.org/licenses/by/4.0 (vor)
- Funders
- European Union's Horizon 2020 research and innovation program (190185351)
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: pyComBat, a Python tool for batch effects correction in high-throughput molecular data using empirical Bayes methods. https://app.cochat.ai/papers/10.1186/s12859-023-05578-5
- The paper
- Behdenna, A., Colange, M., Haziza, J., Gema, A., Appé, G., Azencott, C.-A., & Nordor, A. (2023). pyComBat, a Python tool for batch effects correction in high-throughput molecular data using empirical Bayes methods. BMC Bioinformatics. https://doi.org/10.1186/s12859-023-05578-5
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.