Package: batchelor 1.29.0

Aaron Lun

batchelor: Single-Cell Batch Correction Methods

Implements a variety of methods for batch correction of single-cell (RNA sequencing) data. This includes methods based on detecting mutually nearest neighbors, as well as several efficient variants of linear regression of the log-expression values. Functions are also provided to perform global rescaling to remove differences in depth between batches, and to perform a principal components analysis that is robust to differences in the numbers of cells across batches.

Authors:Aaron Lun [aut, cre], Laleh Haghverdi [ctb]

batchelor_1.29.0.tar.gz
batchelor_1.29.0.zip(r-4.7)batchelor_1.29.0.zip(r-4.6)batchelor_1.29.0.zip(r-4.5)
batchelor_1.29.0.tgz(r-4.6-x86_64)batchelor_1.29.0.tgz(r-4.6-arm64)batchelor_1.29.0.tgz(r-4.5-x86_64)batchelor_1.29.0.tgz(r-4.5-arm64)
batchelor_1.29.0.tar.gz(r-4.7-arm64)batchelor_1.29.0.tar.gz(r-4.7-x86_64)batchelor_1.29.0.tar.gz(r-4.6-arm64)batchelor_1.29.0.tar.gz(r-4.6-x86_64)
batchelor_1.29.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
batchelor/json (API)
NEWS

# Install 'batchelor' in R:
install.packages('batchelor', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3

On BioConductor:batchelor-1.29.0(bioc 3.24)batchelor-1.28.0(bioc 3.23)

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

sequencingrnaseqsoftwaregeneexpressiontranscriptomicssinglecellbatcheffectnormalizationcpp

9.23 score 10 packages 1.4k scripts 7.5k downloads 9 mentions 29 exports 47 dependencies

Last updated from:165c212df5. Checks:10 WARNING, 2 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
bioc-checksWARNING260
linux-devel-arm64WARNING430
linux-devel-x86_64ERROR509
source / vignettesOK450
linux-release-arm64WARNING442
linux-release-x86_64ERROR502
macos-release-arm64WARNING414
macos-release-x86_64WARNING591
macos-oldrel-arm64WARNING335
macos-oldrel-x86_64WARNING870
windows-develWARNING1814
windows-releaseWARNING1534
windows-oldrelWARNING1698
wasm-releaseOK198

Exports:applyMultiSCEbatchCorrectcheckBatchConsistencycheckIfSCEcheckRestrictionsClassicMnnParamclusterAbundanceTestclusterAbundanceVarclusterMNNconvertPCsToSCEcorrectExperimentscosineNormdivideIntoBatchesfastMNNFastMnnParamfindMutualNNintersectRowsmnnCorrectmnnDeltaVariancemultiBatchNormmultiBatchPCAnoCorrectNoCorrectParamquickCorrectreducedMNNregressBatchesRegressParamrescaleBatchesRescaleParam

Dependencies:abindassortheadbeachmatBHBiobaseBiocGenericsBiocNeighborsBiocParallelBiocSingularclicodetoolscpp11DelayedArrayDelayedMatrixStatsformatRfutile.loggerfutile.optionsgenericsGenomicRangesglueigraphIRangesirlbalambda.rlatticelifecyclemagrittrMatrixMatrixGenericsmatrixStatspkgconfigRcppResidualMatrixrlangrsvdS4ArraysS4VectorsScaledMatrixscuttleSeqinfoSingleCellExperimentsnowSparseArraysparseMatrixStatsSummarizedExperimentvctrsXVector

Correcting batch effects in single-cell RNA-seq data

Rendered fromcorrection.Rmdusingknitr::rmarkdownon Jun 05 2026.

Last update: 2021-04-07
Started: 2019-02-11

Extending dispatch to more batch correction methods

Rendered fromextension.Rmdusingknitr::rmarkdownon Jun 05 2026.

Last update: 2019-11-02
Started: 2019-02-11

Readme and manuals

Help Manual

Help pageTopics
Apply function over multiple SingleCellExperimentsapplyMultiSCE
Batch correction methodsbatchCorrect batchCorrect,ClassicMnnParam-method batchCorrect,FastMnnParam-method batchCorrect,NoCorrectParam-method batchCorrect,RegressParam-method batchCorrect,RescaleParam-method
Using restrictionbatchelor-restrict
BatchelorParam methodsBatchelorParam-class ClassicMnnParam ClassicMnnParam-class FastMnnParam FastMnnParam-class NoCorrectParam NoCorrectParam-class RegressParam RegressParam-class RescaleParam RescaleParam-class
Check batch inputscheckBatchConsistency checkIfSCE checkRestrictions
Cluster-based MNNclusterMNN
Convert corrected PCs to a SingleCellExperimentconvertPCsToSCE
Correct SingleCellExperiment objectscorrectExperiments
Cosine normalizationcosineNorm
Cluster-based correction diagnosticsclusterAbundanceTest clusterAbundanceVar diagnostics-cluster
Divide into batchesdivideIntoBatches
Fast mutual nearest neighbors correctionfastMNN
Take the intersection of rows across batchesintersectRows
Mutual nearest neighbors correctionmnnCorrect
Computes the variance of the paired MNN deltasmnnDeltaVariance
Per-batch scaling normalizationmultiBatchNorm
Multi-batch PCAmultiBatchPCA
No correctionnoCorrect
Quickly perform batch correctionquickCorrect
MNN correction in reduced dimensionsreducedMNN
Regress out batch effectsregressBatches
Scale counts across batchesrescaleBatches