Abstract
Single-cell RNA sequencing (scRNA-seq) is often plagued by technical variations known as batch effects, which can obscure biological signals. Traditional unsupervised methods frequently suffer from "overcorrection," particularly in heterogeneous datasets where cell-type compositions vary across batches. We present SSBER (Supervised Single-cell Batch Effect Removal), a novel method that leverages supervised cell-type assignment to guide data integration. By using biological prior knowledge as a constraint, SSBER prevents the erroneous merging of distinct cell types, preserving biological identity while effectively removing technical noise.
Introduction
In the field of scRNA-seq, "batch effects" arise from differences in sample processing times, laboratory environments, or sequencing platforms. These technical artifacts can lead to misleading conclusions if not properly addressed. Current state-of-the-art tools, such as Seurat, Harmony, and MNN, primarily rely on unsupervised approaches to identify "anchors"—pairs of similar cells across batches—to align datasets.
However, these unsupervised methods struggle with heterogeneous batches. For instance, if one batch contains cell types A and B while another contains B and C, unsupervised algorithms may mistakenly force types A and C together. This results in overcorrection, where unique biological signatures are lost. SSBER addresses this by introducing a supervised framework that ensures anchors are only formed between cells of the same biological type.
Methods
The SSBER workflow is divided into four distinct stages designed to integrate data while respecting biological boundaries:
- Preprocessing: Gene expression data undergoes standard normalization and z-score transformation.
- Supervised Annotation: The algorithm employs SciBet, a high-speed supervised classifier, to assign labels to cells based on a reference atlas. To maintain high precision, only cells with a classification probability score above 0.8 are labeled; others are categorized as "unknown."
- Anchor Identification: Unlike unsupervised methods that search the entire dataset, SSBER identifies mutual nearest neighbors (MNNs) exclusively within shared cell types. Canonical Correlation Analysis (CCA) is used to project the data into a low-dimensional space, facilitating the discovery of high-confidence anchors.
- Data Integration: Correction vectors are computed for each cell using Gaussian kernel weights derived from these cell-type-specific anchors. Cells labeled as "unknown" default to a standard unsupervised anchor search, allowing the method to handle novel populations gracefully.
Results and Evaluation
SSBER was benchmarked against leading tools, including Seurat, Harmony, and LIGER, across various complex scenarios, including human blood dendritic cells, pancreas, and PBMC datasets. Key performance metrics, such as the Adjusted Rand Index (ARI) and cell-type Local Inverse Simpson’s Index (cLISI), consistently favored SSBER.
On the dendritic cell dataset, SSBER achieved an ARI of approximately 0.85, significantly outperforming Seurat (~0.71). Furthermore, SSBER demonstrated superior "cell purity," maintaining clear separation between distinct biological populations (e.g., CD4+ vs. CD8+ T cells) that other methods tended to merge. In time-course experiments, SSBER successfully preserved complex branching developmental trajectories while competing methods often failed to maintain clear structure.
Discussion
The core innovation of SSBER is the use of "biology as a guardrail." By incorporating a classifier, the model gains an awareness of cell identity that mathematical clustering alone lacks. This prevents the "smearing" of unique populations and ensures that local batch effects are corrected without compromising global biological structure.
While highly effective, SSBER's performance is inherently linked to the quality of the reference atlas and the underlying classifier. Cells that cannot be confidently labeled lose the supervised advantage. However, as comprehensive resources like the Human Cell Atlas continue to grow, the requirement for a reference becomes less of a barrier. SSBER represents a significant step forward in robust, biology-aware data integration for single-cell genomics.
Summary updated