Abstract
Motivation
Single-cell RNA sequencing (scRNA-seq) enables high-resolution profiling of cellular heterogeneity, yet batch effects remain a critical challenge in data integration. Existing batch correction methods often assume homogeneous batch effect across cell types, operate in reduced-dimensional space leading to potential loss of biological information, and require extensive computational resources.
Results
Here, we introduce COBRA, a linear model-based batch correction method that explicitly adjusts cell-type-specific batch effect. By orthogonalizing batch-associated parameters with respect to biological variables, COBRA removes technical artifacts while preserving biologically meaningful transcriptional differences. When cell type annotations are unavailable, COBRA implements an iterative clustering algorithm to estimate pseudo-cell types while accounting for batch effects. COBRA retains the full gene expression matrix, ensuring seamless integration for downstream analyses. We evaluated COBRA across simulated and real-world datasets, including type 2 diabetes and COVID-19 datasets. COBRA outperformed in terms of batch mixing efficiency, preservation of biological group structure, and accuracy of differentially expressed gene detection.
Availability
COBRA is freely available at https://github.com/wonlab-healthstat/COBRA. The code to reproduce the analyses is archived at Zenodo (https://doi.org/10.5281/zenodo.19891355).
Graphical abstract
Graphical Abstract.

Key Points.
COBRA provides a unified approach to identify and correct batch effects in heterogeneous datasets while preserving genuine biological differences.
By leveraging shared structure across batches and using safeguards against over-correction, COBRA supports robust integration even when batch sizes or study designs are imbalanced.
Across representative benchmark and real-world analyses, COBRA reduces batch-driven variation and can improve the stability of downstream results such as clustering, differential analysis, and predictive modeling.
COBRA is designed to be computationally efficient and scalable, with implementation and reproducible workflows intended to facilitate practical adoption.
1 Introduction
Single-cell RNA sequencing (scRNA-seq) has revolutionized our ability to explore cellular heterogeneity and gene expression profiles at the single cell level. As the number of publicly available scRNA-seq datasets continues to grow, integration of multiple datasets has become essential for comprehensive analysis. However, technical variations often arise due to differences in sample preparation, sequencing platforms, and data processing steps across batches (Hsiao et al. 2020). Without proper correction of these nuisance variations, misleading conclusions may be drawn (Butler et al. 2018). Moreover, inherent biological heterogeneity contributes to the complexity of scRNA-seq data, requiring sophisticated methods to accurately remove the non-biological effects while preserving true biological signals (Fei and Yu 2020). The high dimensionality and the diverse biological responses across different conditions necessitate computationally efficient and robust correction methods.
To address these challenges, a variety of batch effect correction methods have been developed. Linear model-based methods, such as limma (Ritchie et al. 2015), ComBat (Johnson et al. 2007), and scMerge2 (Lin et al. 2023), gene-wisely estimate batch effects by including batch information as covariates in linear regression, and subsequently subtracting the estimates from gene expression matrix. While these methods can provide a full gene expression matrix after correcting for batch effects, they cannot consider cell type-specific effects in the correction process unless that information is explicitly provided. In contrast, similarity-based methods, such as Seurat- canonical correlation analysis (CCA) and reciprocal PCA (RPCA) (Hao et al. 2024), fastMNN (Haghverdi et al. 2018), and Harmony (Korsunsky et al. 2019), first embed cells in a shared low-dimensional space and match phenotypically similar cells across batches. They then compute local correction vectors to align these matched neighborhoods while preserving cell-type structure. However, this reliance on dimensionality reduction can lead to information loss and may restrict downstream analyses, while the computational methods also often incur high computational costs, limiting their scalability to large datasets. Generative model-based methods, such as scVI (Lopez et al. 2018), produce a batch-corrected gene expression matrix by leveraging neural network architectures capable of capturing complex relationships among variables. Nevertheless, their ‘black box’ nature raises concerns about potential distortion of biological signals and the risk of overfitting cannot be ruled out. In addition to these limitations, to the best of our knowledge, existing batch-correcting algorithms do not explicitly address the potential distortion of variables of interest, such as disease states, which may occur when correcting for nuisance variables.
In this study, we introduce the Cell-type-specific Orthogonal Batch effect Removal Algorithm (COBRA), a method designed to remove batch effects from scRNA-seq data while preserving biological signals. It estimates a corrected full gene expression matrix, thereby ensuring the integrity of downstream analyses. COBRA offers several advantages: it (i) efficiently corrects batch effects based on a linear model, enabling its application to the large-scale scRNA-seq datasets; (ii) accounts for heterogeneous batch effects across cell types by including interaction terms between batch and cell type variables in the model; and (iii) preserves true biological signals by orthogonalizing batch-related variables with respect to the variables of interest. When cell type information is unavailable, COBRA estimates pseudo-cell types and incorporates these into the model. We validated the proposed algorithm extensively across a wide range of scRNA-seq datasets, including simulated datasets, benchmark datasets, and real-world studies, demonstrating the superiority of COBRA over existing methods.
2 Materials and methods
2.1 Cobra
2.1.1 Batch effect estimation
COBRA incorporates batch information, cell types, and any covariates into the design matrix to systematically account for batch-related variations. To model cell-type-specific batch effects, we introduce an interaction term between batch and cell type in the design matrix (Fig. 1a). If cell type annotations are unavailable, COBRA can estimate pseudo-cell types using iterative clustering algorithm described in the Fig. 1b. COBRA divided the design matrix into batch-related and batch-unrelated matrices, and then batch-related variables are orthogonalized with respect to other variables to preserve biological variability. Subsequently, scRNA-seq expression data is regressed on orthogonalized batch-related variables, and the resulting residual expression is used as the batch-corrected data.
Figure 1.

Overview of the COBRA algorithm. (a) Conceptual overview of the COBRA framework. A design matrix is constructed to include batch, cell type, interaction terms, and other covariates such as disease status. COBRA orthogonalizes batch-related variables with respect to biological signals. Batch effects are estimated using ordinary least squares (OLS), and the corrected gene expression matrix is obtained by subtracting the estimated batch effects from the original data matrix. (b) Workflow of pseudo-cell type estimation applied when cell-type labels are not available. The procedure iteratively clusters cells using K-means algorithm removes cluster-specific batch effects on dimension reduced matrix. The estimated clusters, referred to as pseudo-cell-types, are then incorporated into the design matrix in COBRA algorithm.
Prior to batch correction, COBRA requires normalization and scaling for unique molecular identifier (UMI) count by batch. Let be the number of genes and the number of batches. In batch , subject has cells, giving the total number of cells across subjects. Overall, across batches, the total number of subjects is and the total number of cells is . For gene in cell of subject sequenced in batch , let the raw UMI count be and the cell’s library size be . Within each batch, counts are normalized as
and then scaled per gene via
where is the standard deviation of for gene g in batch .
Then, for gene , COBRA fits
where denotes the cell-level vector for subject in batch , includes all subjects within batch , and has expression vectors across batches. The design matrix includes batch, cell type, batch-cell type interaction terms, and phenotypic covariates, having variables so . The corresponding coefficient vector is expressed as , and represents the random error, where denotes the identity matrix.
By partitioning the into , where is a matrix containing the batch-related variables, such as batch and the interaction variables, and is a matrix containing the other variables, we can write as , as following (Zucker et al. 2000)’s notation. If we transform into , where , becomes orthogonal to and we have where . Consequently, the coefficients and can be estimated using least square method, resulting in the expression of gene with the batch effect removed: (Fig. 1).
COBRA’s computational complexity is determined by three key steps. First, for each gene, the orthogonalization of batch-related variables requires . The batch effect estimation and batch effect removal require and , respectively. Considering and , the total computational complexity for all the genes is approximately , showing the complexity only linearly increases as or increases.
2.1.2 Pseudo-cell type estimation
For datasets where cell type information is unavailable, COBRA employs an iterative approach to estimate pseudo-cell types. This approach simultaneously identifies biologically meaningful cell clusters and corrects for batch effects.
The top 20 principal component (PC) scores of each cell are calculated using selected featured genes across batches. The package allows optionally select the number of PC using elbow criterion. The process begins by clustering a random subset (10%) of cells to enhance computational efficiency and reduce noise. K-means clustering is then performed on the PC scores, with the optimal number of clusters determined by maximizing silhouette score. The resulting cluster assignments are then used to classify the remaining cells into these initial groups. Next, these clusters are treated as preliminary pseudo-cell types, and the PC scores are adjusted for batch effects using the orthogonalization-based correction method described in the Batch effect estimation section. This initiates an iterative refinement cycle. In each iteration, the batch-corrected PC scores for all cells are re-clustered using K-means, again determining the optimal number of clusters by maximizing the silhouette score. These new clusters serve as updated pseudo-cell types, which are then used to re-estimate the pseudo-cell types and correct for batch effects on the PC scores. This iterative process is repeated until the model fit, as measured by Bayesian information criterion (BIC), no longer improves or until a maximum of 20 iterations is reached. Once a stopping criterion is met, the algorithm outputs the final pseudo-cell type assignments, ensuring that the resulting clustering structure is robust to batch artifacts.
2.2 Other integration methods
To comprehensively evaluate COBRA against existing batch correction methods, we implemented standard integration pipelines for widely used scRNA-seq batch correction methods. Below, we describe the preprocessing and integration steps followed for each method.
2.2.1 Seurat
We followed the recommended integration pipeline from Seurat v5 (Hao et al. 2024). First, each batch was pre-processed individually by normalizing the data, identifying highly variable genes, and scaling gene expression values. Principal component analysis (PCA) was then performed across all batches. These dimension-reduced datasets were then used to identify anchors for integration. During anchor identification, we considered both CCA and RPCA for comparison. The output was a batch integrated dataset in a low-dimensional space, which was subsequently projected into UMAP space for visualization and assessment. Comparing the phenotypic effect between integration methods requires a full gene-by-cell expression matrix for downstream analyses like DEG testing. Therefore, for such comparisons, we employed full matrix for integration.
2.2.2 Harmony
The Harmony (Korsunsky et al. 2019) integration pipeline followed the standard approach as typically implemented in Seurat. The initial steps involved normalizing data and identifying highly variable genes. Then, the scaled data underwent dimensionality reduction into the PC space. Integration was performed by applying Harmony to the PC embeddings using the IntegrateLayers function with the method = HarmonyIntegration option within the Seurat package. Similar to Seurat, the integrated output was a reduced-dimensional embedding, which was used for UMAP visualizations.
2.2.3 fastMNN
For fastMNN (Haghverdi et al. 2018) integration, preprocessing steps were identical to those of Seurat, including normalization, finding high variable genes, scaling and PCA. Then, batch correction was performed using fastMNN via the IntegrateLayers function with method = FastMNNIntegration. fastMNN provides batch-corrected data in a reduced-dimensional space.
2.2.4 ComBat
Since ComBat (Johnson et al. 2007) is a linear model-based batch correction method, we applied identical preprocessing steps as for COBRA, such as batch-wise normalization and scaling. Batch correction was performed using the ComBat function specifying batch variable in the batch option and including other covariates, such as cell type and phenotype, as part of the design matrix in the mod option.
2.2.5 Limma
Like ComBat, limma (Ritchie et al. 2015) is a linear model-based method and preserves the full gene matrix. The removeBatcheffect function was used with the same preprocessing steps and design matrix as used in COBRA.
2.2.6 scMerge
The scMerge (Lin et al. 2023) pipeline begins with normalization and scaling across the entire dataset. Stably expressed genes (SEGs) were identified as negative control genes by selecting those with an scSEGIndex90 score of less than 0.5. Using these genes along with batch and cell type information, we performed batch effect removal with the scMerge2 function. When phenotype information was available (e.g. disease status in the T2D and COVID-19 datasets), we additionally specified the condition parameter in scMerge2 to perform condition-aware integration.
2.2.7 scVI
The scVI model (Lopez et al. 2018) is based on a conditional variational autoencoder. It employs raw count data for negative binomial modeling, and we trained the model for a maximum of 20 epochs. From the trained model, a latent presentation for each cell was extracted. This output is a multi-dimensional embedding where the batch effects have been removed.
2.3 Datasets
Both experimentally derived and simulated datasets were used to evaluate the performance of COBRA compared to other batch correction methods. The benchmark datasets were obtained from https://hub.docker.com/r/jinmiaochenlab/batch-effect-removal-benchmarking which were originally introduced in Tran et al. (2020). Annotated cell types from these datasets were used directly in our study.
2.3.1 Benchmark datasets
Cell line: The dataset comprises three sets of data (Zheng et al. 2017, Hie et al. 2019), each with a specific cell type composition. The first dataset consists of 2 885 293 T cells, the second dataset includes 3258 Jurkat cells, and the third dataset consists of a 50:50 ratio of Jurkat to 293 T cells, totaling 3388 cells. A total of 32 738 genes were obtained using the 10× Genomics platform and included in the gene expression dataset. The dataset is utilized to evaluate batch correction on monoclonal populations of each physiologically distinct cell type.
Human pancreas and T2D: The human pancreas dataset was acquired from five distinct sources (Baron et al. 2016, Muraro et al. 2016, Segerstolpe et al. 2016, Wang et al. 2016, Xin et al. 2016), consisting of pre-processed count data with a total of 14 767 cells. These cells belong to 15 cell types, some of which are not shared across all batches. This dataset provides insight into the integration of multiple batches containing non-identical cell types. Among the five datasets, three have phenotype information indicating whether the patients are healthy or have T2D. We used these three datasets for evaluating the ability to preserve biological effects.
Murine atlas: Two distinct mouse cell atlas datasets were independently generated by different research groups using different scRNA-seq technologies. The first dataset was produced by Han et al. (2018) through Microwell-Seq, and the second by the Tabula Muris Consortium (Tabula Muris et al. 2018) using Smart-Seq2 protocols. We integrated a total of 6945 cells representing common 11 cell types from diverse organ systems and 15 006 shared genes across both datasets. Moreover, samples were obtained from nine murine organ systems—urinary, digestive, respiratory, circulatory, muscular, immune, nervous, endocrine, and lymphatic—allowing for comparisons of multiple cell types across different tissues. This dataset is intended to evaluate the batch effect removal across varying tissues and different scRNA-seq technologies.
Human PBMC: Two distinct datasets were acquired from healthy donor peripheral blood mononuclear cells (PBMCs) using the 3′ and 5′ 10× Genomics protocols, which are designed to capture different regions of mRNA (Zheng et al. 2017). The first dataset consists of 8098 cells while the second contains 7378 cells for identical cell types, and both include 17 430 genes. This dataset allows for an investigation into how well batch correction performs when there are biological variations driven by different protocols.
Mouse retina: These data were obtained using drop-seq technology from two independent groups (Macosko et al. 2015, Shekhar et al. 2016), comprising 26 830 cells in the first batch and 44 808 cells in the second batch. Each cell contains expression values for 12 333 genes. The first batch contains twelve cell types, while the second batch contains five, which are a subset of the cell types from the first batch. The dataset was used to test batch correction on a dataset with non-identical cell types. Additionally, the original data exhibited minimal batch separation, and we investigated whether these patterns remained after applying integration algorithms.
Mouse hematopoietic stem and progenitor cells: The dataset was obtained by Nestorowa et al. (2016) and Paul et al. (2015), which were sequenced using the SMART-seq2 and MARS-seq protocols, respectively. From the raw datasets, we retained only cells with curated cell-type labels provided by Tran et al. (2020), resulting in 1920 and 2729 cells in each batch and 3467 common genes. This dataset was used to evaluate how well batch correction techniques mitigate batch effects caused by variations in sequencing technology when the cell compositions are different.
Mouse brain: This dataset combines two mouse brain datasets from Saunders et al. (2018) and Rosenberg et al. (2018) to evaluate the effectiveness of batch correction strategies on a large-scale dataset comprising 8 33 206 cells, with 6 91 600 cells in the first batch and 141 606 in the second batch. The primary objective is to assess the scalability of batch correction methods on large datasets.
COVID-19: The FRED HUTCH (Tian et al. 2022) provides standardized scRNA-seq datasets from published studies to enhance the understanding of COVID-19. To test integration methods in situations involving multiple phenotypic effect, we obtained three datasets—ARUNACHALAM, LEE and WILK—each with available phenotypic information. The metadata includes disease status; healthy, moderate or severe COVID-19. The data comprises six healthy individuals and nine patients with COVID-19, seven of whom were classified as having a moderate condition and two as severe. The dataset contains 1 75 345 cells and 33 516 genes and was used to assess batch effect removal methods for handling multiple phenotypes.
2.3.2 Simulation datasets
We generated synthetic scRNA-seq data using the splatter R package (Zappia et al. 2017) to assess performance on two specific challenges: cell-type-specific batch effect and confounding batch effect.
The first scenario was designed to investigate the differential impact of technical variations across cell populations. We generated three distinct cell populations, each comprising 1000 cells and 1000 genes with varying degrees of batch effects. The magnitude of batch effects was controlled through two key parameters: batch.facLoc, which determines the average shift in expression values between batches, and batch.facScale, which modulates the variability of these batch-specific changes. Cell type 1 was assigned minimal batch effects (batch.facLoc = 0.05, batch.facScale = 0.05), cell type 2 was assigned substantial batch effects (batch.facLoc = 0.5, batch.facScale = 0.5), while cell type 3 was restricted to a single batch, which indicates no batch effect. After applying batch correction methods, principal component regression (PCR) and ASW were calculated to measure the degree of cell-type separation and the extent of batch mixing within the corrected datasets.
The second scenario addresses phenotypic imbalance across experimental conditions. Using parameters derived from the Camp reference dataset (Camp et al. 2015), we simulated 5000 cells across 1000 genes, distributed equally between two batches. To assess performance under these imbalanced conditions, the proportion of case cells within the first batch was varied from 0.1 to 0.5. Differential expression between case and control conditions was implemented uniformly across batches, de.facLoc = 1 and de.facScale = 1, where these parameters control the location and scale of the differential expression factors, respectively. The relative batch effect sizes were modulated by batch.facLoc parameters, which was varied from 0.1 to 1.5. The performance of batch correction methods was evaluated using ASW, precision, AUC and correlation of log2FCs for DEGs between before and after batch correction.
2.4 Evaluation metrics
2.4.1 Asw
ASW was used to measure the quality of clustering in terms of both compactness and separation. It evaluates how similar an object is to its own cluster compared to other clusters by calculating the average silhouette width of all cells in the data. The silhouette score, , for an individual cell j and the overall ASW for a dataset of T cells are defined as:
Here is the average distance from cell j to the other cells in the same cluster, and is the smallest average distance from cell j to cells in a different cluster. A higher ASW score suggests well-defined and distinct clusters, with a value approaching 1 indicating optimal clustering.
Additionally, we utilized ASW to assess the degree of separation among batches or biological groups within each cell type. Let M be the set of cell types, and for let be the set of cells belonging to the cell type m. Within each , s(j) is computed by treating batch labels as clusters. Following Luecken et al. (2022), ASW is calculated as a weighted average across all cell types:
Here denotes the number of elements in the set. ASWbatch/group ranges from 0 to 1, and a score close to 1 indicates clear separation, whereas a score close to 0 indicates poor separation.
2.4.2 Pcr
To quantify the variance in the data attributable to batch effects, we utilized a score based on PCR. This score is calculated by summing the variance explained by top R PCs, where each PC’s variance is weighted by the proportion of its variance that is explained by the batch variable.
Let denote the score vector for the r-th PC scores. The term represents the coefficient of determination from a linear model regressing the batch variable on . Then, the total variance explained by the batch, , is then given by Luecken et al. (2022):
Here is estimated from the mean squared regression of on . A higher indicates a stronger batch effect, while a large reduction in this score after correction reflects more effective batch removal. All calculations of were performed using the Python (Zheng et al. 2017) module (Luecken et al. 2022).
2.4.3 Precision, AUC and
To evaluate the performance of each batch correction method on the simulation datasets, we assessed its ability to preserve true DEG signals. Performance was quantified using precision, AUC and Precision was defined as the proportion of correctly identified DEGs among all detected DEGs; a higher precision indicates a more effective distinction between true signals from false positives. We also computed AUC-ROC score to measure the overall ranking performance. Finally, to determine if the magnitude of the biological signal was maintained, we calculated the correlation of s for true DEGs before and after batch correction.
2.4.4 Time and memory
We benchmarked the execution time and peak memory usage of our method in a single-core Linux environment. Execution time was measured using the bench_time function from the bench R package (Hester and Vaughan 2020). Peak memory consumption was assessed using the peakRAM function from the peakRAM R package (Quinn 2017) with the maximum usage recorded from the {Peak_RAM_Used_MiB} output field.
2.5 Analysis of DEGs
After applying batch correction, we performed differential gene expression analysis for each cell type individually. This analysis was conducted using FindMarkers function from the Seurat R package, with implementing the MAST algorithm (Finak et al. 2015). Genes were considered DEGs if they met the criteria of an adjusted P-value < .05 and |log2FC| > 1.5.
To assess whether biologically relevant signals were preserved after batch correction, the identified DEGs were compared against external disease-associated gene lists. Specifically, we used COVID-19 associated genes reported in Xiong et al. (2020) and T2D associated genes obtained from DisGeNET (ID: C0011849) (Piñero et al. 2020). The overlap between the detected DEGs and these disease-associated gene lists was used to evaluate the extent to which disease-relevant gene were obtained after batch correction.
2.6 Gene-set enrichment analysis
The functional relevance of the identified DEGs were examined by gene-set enrichment analysis. The genes were ranked by differential expression P values, and enrichment significance against on Gene Ontology (GO) term was evaluated using Kolmogorov-Smirnov (KS) test implemented in the topGO R package (Alexa and Rahnenführer 2009).
3 Results
3.1 COBRA: cell-type-specific, orthogonal batch effect removal algorithm
COBRA is designed to remove cell-type specific batch effects from scRNA-seq data using a linear model while preserving biological signals. The algorithm begins by constructing a design matrix that incorporates batch, cell type, the interaction between batch and cell type, and other relevant covariates such as disease status. COBRA then decomposes this matrix into batch-related and biological components. To ensure biological signals remain intact, the batch-related components are transformed to be orthogonal to the biological ones. These resulting orthogonalized batch variable are then used within a standard linear regression framework to estimate batch effects. Subtracting these estimated batch effects from the original expression matrix yields the final, batch-corrected expression matrix (Fig. 1a, see Sect. 2).
The output is a batch-corrected gene expression matrix with the same dimensions as the input data. Unlike embedding-based methods, which often reduce dimensionality and lose gene-level information, COBRA preserves the full gene expression matrix. This feature enables direct downstream analyses, such as differentially expressed genes and trajectory inference, without requiring additional processing steps or sacrificing analytical resolution.
In cases where cell type information is unavailable, COBRA implements an iterative clustering approach to estimate pseudo-cell types while accounting for batch effects. This procedure iteratively applies k-means clustering to dimension-reduced expression matrix to refine cluster assignments. In each iteration, linear regression is used to remove marginal batch effect across clusters, thereby optimizing the identification of cell populations in the absence of prior annotations. Subsequently, these estimated pseudo-cell type information are incorporated into the design matrix in place of known cell-type information (Fig. 1b, see Sect. 2).
In summary, COBRA addresses the shortcomings of existing methods while maintaining practical utility for large-scale single-cell studies. By combining (i) cell type-specific batch modeling, (ii) robust preservation of biological signals through orthogonalization, and (iii) direct compatibility with downstream analyses, our approach provides a comprehensive solution for mitigating technical variation in scRNA-seq data without compromising biological insights. We applied COBRA and other existing batch correction methods to various benchmark datasets (see datasets section in Sect. 2), and the key results are described in the subsequent sections, with additional findings included in Figs. S1–6.
3.2 Cell-type-specific batch effect correction
We assume that batch effects in scRNA-seq data are not identical across cell types. To investigate this heterogeneity, we compared the average log2FC of gene expression between batches for each cell type. This analysis revealed that the average log2FC values differ significantly across cell types, with varying degrees of divergence depending on the experimental conditions (Fig. 2a). This finding underscores the need for batch correction methods capable of addressing cell-type-specific variations to ensure reliable interpretation of scRNA-seq data.
Figure 2.

Cell-type-specific batch effects. (a) Variability of batch effect across scRNA-seq datasets. Batch effects are variable depending on cell type and dataset. Each bar indicates the average log2FC between two different batches within each cell type across scRNA-seq benchmark datasets. P-values from Kruskal-Wallis test are shown for each dataset. (b) Simulation scenario which has different batch effects across cell types. Cell type 1 show minimal batch effect, cell type 2 exhibits large batch effect, and cell type 3 appears in only one batch. (c) UMAP plots before and after batch correction using COBRA, colored by batch (left) and cell type (right). Post-correction results show batch integration while preserving biological clustering. (d) Quantitative comparison of batch correction methods using principal component regression (PCR) with R = 50, average silhouette width (ASW), and adjusted Rand index (ARI). COBRA achieves a favorable balance between removing batch effects and maintaining cell type, compared to existing methods including Seurat, limma, ComBat, scMerge, scVI, Harmony, and fastMNN. The estimated pseudo-cell types were identical to the true cell types (see Fig. S7a), which resulting the identical results with COBRA. Thus, the results for COBRA (unknown) are omitted in this plot. (e) UMAP plots of a mixed cell line dataset before and after batch correction using COBRA. Corrections were applied both when cell line labels were available (middle) and unavailable (right). COBRA successfully integrates batches while retaining biological distinctions regardless of label availability.
To rigorously evaluate COBRA’s performance in correcting cell-type-specific batch effects, we simulated a scRNA-seq dataset comprising three distinct cell types: (i) a cell type with minimal batch effects, (ii) a cell type with substantial batch effects, and (iii) a cell type restricted to a single batch (simulation 1; Fig. 2b). COBRA successfully integrated the batches while preserving the distinct biological structures of each cell type. This was evident in the uniform manifold approximation and projection (UMAP) visualization (Fig. 2c), which demonstrated complete batch integration within individual cell types. We further benchmarked COBRA against widely used methods, including Seurat, limma, ComBat, scMerge, scVI, Harmony, and fastMNN. Performance was evaluated using both visual inspection of UMAP plots (Fig. S7a) and quantitative evaluation metrics (Fig. 2d) (see evaluation metrics in Sect. 2). When cell type labels were not provided, COBRA internally estimated pseudo-cell-type that perfectly matched the true cell-type (Fig. S7a), leading to identical downstream batch correction performance. These results demonstrate that COBRA effectively mitigates batch variability while preserving biological signals, outperforming existing approaches.
We further validated COBRA using a real dataset derived from two cell lines, Jurkat and 293 T, distributed across three batches: batch 1 (293 T only), batch 2 (Jurkat only), and batch 3 (a 50/50 mixture of both cell lines). In the uncorrected data, the 293 T cells showed no clear separation by batch, whereas Jurkat cell displayed distinct clustering by batch (Fig. 2e). The goal was to merge the Jurkat cells from batch 2 and 3 while maintaining the distinct cluster of 293 T cells. COBRA successfully achieved this objective, outperforming the other methods (Fig. 2e and Fig. S7b). Notably, when run without cell line information, COBRA’s internally estimated pseudo-cell types accurately corresponded to the true cell lines, resulting in an equally effective correction.
3.3 Effective distinction of true biological signals from unwanted variations
We evaluated how well COBRA distinguishes true biological signals from unwanted technical variations by benchmarking it on simulated scRNA-seq datasets. These datasets were designed to reflect real-world experiments where batch effects are confounded with biological effects. Specifically, we varied the ratio of batch effect size to biological effect size and the proportion (p) of all cases assigned to the first batch (simulation 2; Fig. 3a). A value of P = 0 represents a completely confounded design, where one batch contains all controls and another contains all cases. Conversely, P = .5 represents a perfectly balanced design, with equal proportions of cases and controls within each batch.
Figure 3.

Distinction of true biological differences from unwanted variation. (a) Simulation scenario mimicking varying proportions of biological groups (case/control) within each batch. This setting models the situations where batch and disease status are partially confounded. (b) Comparative performance of batch correction methods under increasing the proportion of case within each batch. Evaluation metric include silhouette width based on batch within each group (ASWbatch/group), AWS for biological group separation (ASWgroup), and differential expression analysis accuracy: precision, AUC, and correlation of log2FC for differentially expressed genes (DEGs) between before and after batch correction. (c) The number of cells and the proportions of cases and controls in each T2D dataset. (d) UMAP plot of T2D dataset before (top) and after (bottom) batch correction using COBRA. Color encodes batch (left), cell type (middle), and disease status (right). COBRA preserves biological separation while minimizing batch-driven clustering. (e) Total number of overlapped genes between DisGeNET (ID: C0011849) and detected DEGs across cell types. Comparisons are made between Seurat, limma, ComBat, scMerge, and COBRA, both with and without prior cell-type labels. COBRA consistently recovers a higher number of DEGs.
We assessed performance using evaluation criteria: (i) batch mixing efficiency within biological groups (Average Silhouette Width; ASWbatch/group), (ii) preservation of biological group structure (ASWgroup), and (iii) three metrics related to differentially expressed gene (DEG) detection—precision, area under the curve (AUC), and the correlation between ground-truth and estimated effect sizes. The definitions of these metrics are provided in Sect. 2. Ideally, batch-corrected data should exhibit clear separation by biological groups but strong mixing by batches while also enabling precise DEGs identification (high precision, AUC, and correlation values).
COBRA well separated cells by biological groups while effectively mixing cells from different batches across all conditions, as shown by its low ASWbatch/group and high ASWgroup values (Fig. 3b and Fig. S8). This indicates robust preservation of the biological group structure after batch correction. Notably, COBRA achieved superior performance in DEG detection, with the highest precision and AUC in nearly all scenarios, regardless of group proportions or relative effect sizes. The correlation between estimated and ground-truth effect sizes was also consistently high. Although the linear models without orthogonalization, such as limma and ComBat, exhibited relatively higher ASWgroup values, their DEG detection metrics (precision and AUC) were lower than COBRA’s, indicating that excessive separation of groups may distort biological signals.
To further validate COBRA’s performance on biological signal prevention, we applied it to three T2D datasets with varying T2D-to-healthy subject ratios: Baron (0.85:0.15), Segerstolpe (0.49:0.51) and Xin (0.41:0.59) (Fig. 3c). These datasets were treated as batches 1, 2, and 3, respectively, and were combined into a single integrated T2D dataset. After correction by COBRA, the UMAP plots showed a clear separation of cells by their phenotypic differences rather than by batch (Fig. 3d and Fig. S9). To quantify the retention of biological effects, we performed DEG analysis by cell type, followed by gene set over-representation analysis using the DisGeNET (Piñero et al. 2020), a curated database of disease-associated genes, as a source for T2D-related gene sets. COBRA identified a higher number of DEGs than existing methods did across most cell types, including those where other methods failed to detect any DEGs (Fig. 3e). This higher sensitivity in detecting DEGs in both simulated and real datasets demonstrate COBRA’s ability to enhance biological discovery in scRNA-seq studies.
3.4 Detection of differential cell states for multi-condition data
To assess COBRA’s capability to handle multi-condition and multi-batch datasets, we applied it to a large-scale COVID-19 dataset. Prior to batch correction, cells were clearly separated by batch. After applying COBRA, these batch-specific clusters were integrated, while maintaining cell type identities. Moreover, this correction enabled the identification of severity-associated cell states, such as B cells within specific immune populations. This suggests that these subsets may serve as sensitive indicators of disease progression (Fig. 4a and Fig. S10).
Figure 4.

Identification of cell-state differences in COVID-19 across multiple severity groups. (a) UMAP plot of a COVID-19 peripheral blood mononuclear cell (PBMC) single-cell RNA-seq dataset before (top) and after (bottom) batch correction using COBRA. Cells are colored by batch (left), cell type (middle), and COVID-19 severity group (right). COBRA integrates batches while preserving biologically relevant structures. (b) Recovery of known COVID-19–related genes across methods. Bars represent the number of differentially expressed genes (DEGs) overlapping with previously published COVID-19 gene list. COBRA shows enhanced overlap for both down-regulated (up) and up-regulated (bottom) gene sets compared to other batch correction methods. (c) Venn diagrams comparing DEGs identified COBRA and other existing batch correction methods. (d) Proportion of DEGs among tested genes across cell types for each method. (e) Functional enrichment analysis of interferon (IFN) response genes between COVID-19 severity groups in dendritic cells and monocytes. The − log10(P-value) from a Kolmogorov–Smirnov test for Gene Ontology term “Response to type I interferon (GO: 0034340)” is shown.
Subsequent analyses compared cell-type-specific DEGs with the previously reported bulk RNA-seq derived COVID-19 gene signatures (Xiong et al. 2020). COBRA identified a greater overlap with known COVID-19 DEGs than existing batch correction methods, revealing which immune cell subsets exhibited predominant up- or down-regulation in response to infection (Fig. 4b). COBRA recovered the DEGs detected by alternative methods, while also capturing additional COVID-19 associated genes that were not identified in elsewhere (Fig. 4c). When quantifying the proportion of the detected DEGs, COBRA did not inflate the fraction of significant genes relative to existing approaches (Fig. 4d), which may indicate that COBRA’s enhanced overlap is not driven by false positives, but rather reflects biologically relevant signals.
Further analysis focused on interferon (IFN) response genes (GO: 0034340), which are known to be significantly altered in monocytes and dendritic cells following after the COVID-19 infection (Stephenson et al. 2021). COBRA’s results exhibited a significant enrichment with these IFN response genes across disease severity groups—healthy, moderate, and severe. While other algorithms showed significance in the ‘healthy vs. moderate’ comparisons only, COBRA additionally detected shifts between healthy and severe patients, consistent with findings from Edahiro et al. (2023) (Fig. 4e).
3.5 Scalability of data integration
The linear model framework of COBRA ensures computational efficiency, with a complexity of , where G is the number of genes, is the number of cells, and is the number of coefficients in the design matrix. This structure enables efficient large-scale batch correction, providing advantage over more computationally demanding approaches such as similarity-based models with approximate complexity of , where c is the number of reduced genes or dimensions and .
COBRA produce a full cells-by-genes matrix, ensuring direct compatibility with downstream analyses without dimensionality reduction. While this implies higher memory requirements, our benchmarking demonstrates that COBRA remains competitive in peak RAM usage when considering the entire pipeline, including preprocessing (Fig. 5a and b).
Figure 5.

Computational scalability of COBRA and other batch correction methods. (a) Evaluation of integration runtime (left) and peak memory usage (right) across a range of dataset sizes (number of cells) during the integration step. COBRA demonstrate favorable scalability compared to existing methods including Seurat, limma, ComBat, scMerge, fastMNN, Harmony, and scVI. (b) Evaluation of total runtime (left) and peak memory usage (right) across a range of dataset sizes (number of cells) including both preprocessing and batch correction stages. (c) Integration runtime summary (in seconds) for each method for human pancreas dataset which have multiple batches.
Although, the number of covariates (p) is typically much smaller than the numbers of genes ( and cells () in most scRNA-seq applications, it can become non-negligible when batch-by-cell type interactions are included in studies with many batches and cell types. To evaluate this effect, we performed a benchmark with fixed and while varying the number of batches and cell types from 2 to 8. The runtime of COBRA understandably increased with interaction complexity; however, it remained comparable to ComBat even in the largest setting. Regarding memory, peak usage was largely insensitive to the dimensions of the design matrix (Fig. S11).
Notably, COBRA showed the shortest integration time although it utilized the full matrix (Fig. 5a). COBRA maintained competitive scalability, even when including preprocessing steps and pseudo-cell type estimation in the absence of prior cell type information (Fig. 5b). Unlike methods that integrate batches sequentially, such as Seurat, COBRA provides a clear advantage when handling datasets with multiple batches (Fig. 5c). Sequential integration methods require computational time that increases approximately with . In contrast, COBRA’s computational time increases only linearly with , significantly improving runtime efficiency for large-scale data integration tasks.
4 Discussion
scRNA-seq has revolutionized our ability to dissect cellular heterogeneity. However, batch effects remain a significant challenge to data integration and downstream analyses. To address this, we developed COBRA, a method that efficiently and effectively mitigates technical variation while preserving true biological signals. We validated our method using a variety of simulated and real scRNA-seq datasets, including those from studies of T2D and COVID-19. Across these diverse datasets, COBRA demonstrated robust performance in removing batch effects while maintaining cell-type identities and preserving biologically relevant gene expression pattern.
COBRA offers key advantages over widely used batch correction methods. Embedding-based approaches, such as Harmony and Seurat integration, rely on non-linear transformations in reduced-dimensional spaces, which can limit interpretability and restrict downstream analyses to the corrected embeddings rather than a full gene expression matrix. Count-based methods employing negative binomial generalized linear models (NB-GLM) require gene-wise iterative fitting with per-gene dispersion estimation, resulting in high computational costs and lacking direct matrix-level correction operations. In contrast, COBRA’s linear modeling framework operates on log-normalized expression data and admits a closed-form solution, yielding a total complexity that scales linearly with the number of genes and cells. In addition, because COBRA’s output remains in the same log-normalized spaces as the input, it enables direct use in downstream analyses, including differential expression testing. This design is consistent with prior work demonstrating that log-linear modeling achieves comparable or superior performance to the other methods (Law et al. 2014, Ritchie et al. 2015). COBRA is also able to effectively handle interest effects when correcting batch effects, which are often required in scRNA-seq data. Using a variety of simulated and real scRNA-seq datasets, including those from studies of T2D and COVID-19, we demonstrate that COBRA shows robust performance in removing batch effects while maintaining cell type separation and preserving biologically relevant gene expression patterns. These efficiency and interpretability make COBRA particularly appealing for large-scale studies where computational resources are a concern and clear, traceable results are paramount.
While COBRA demonstrates improvements, it shares fundamental limitations with all batch correction methods particularly when batch and phenotypic groups are completely confounded. This issue arises in real-world scenarios, such as when cases are processed in one batch and controls in another. In such cases, the biological signal of the disease and the technical batch effect are inseparable, making it impossible to distinguish between them. Even with COBRA’s orthogonalization approach, this inherent confounding can lead to the removal of true biological differences. Future research could explore advanced statistical models or Bayesian frameworks that might better handle such scenarios by incorporating a priori knowledge or prior distribution about the expected biological variance.
Furthermore, COBRA assumes that biological variation can be reasonably represented within a discrete or piecewise-discrete structure when estimating interaction effects. In scenarios involving strongly continuous biological processes, such as developmental trajectories, this assumption may be less appropriate. To examine whether COBRA nonetheless extends to such settings, we applied COBRA to a continuous differentiation process simulated with Splatter (Zappia et al. 2017), which cells follow a Y-shaped differentiation trajectory of three lineages across two batches. Prior to correction, the two batches formed separate clusters. However, after applying COBRA, they were thoroughly intergrated while the branching topology and the ground-truth pseudotime were recovered. After correction, the pseudotime inferred by Slingshot (Street et al. 2018) followed the ground-truth ordering within each linage, demonstrating that the continuous structure was well retained (Fig. S13). These results indicate that COBRA effectively removed batch effects without distorting the underlying cellular trajectories, extending its robust applicability to continuously varying data.
A second limitation of COBRA is its reliance on K-means clustering for pseudo-cell type estimation when cell type information is not available a priori. In our sensitivity analyses, pseudo-cell estimation was robust to modest misspecification of K, and the variability across random seeds was smaller than the variability across PC settings. We observed that pseudo-cell estimation was more sensitive to the choice of PC dimension than to random initialization. Furthermore, we found that graph-based Louvain clustering did not improve downstream COBRA correction relative to K-means (Fig. S12). Although K-means clustering is computationally efficient, its effectiveness depends on well-separated clusters in the data (Divya and Devi 2018). This can pose challenges when cell types exhibit overlapping transcriptional profiles or when other biological effects dominate the clustering structure (Hicks et al. 2015). Specifically, when strong phenotypic or environmental influences overshadow cell-type-specific signals, K-mean clustering may produce clusters based on those effects rather than true cell identities, potentially masking batch effects within clusters. Incorporating prior knowledge about cell type identification using marker genes or mapping algorithms to publicly available single-cell atlases (Chen et al. 2021) could improve accuracy of clustering and downstream correction.
Although COBRA is formulated using discrete cell-type or pseudo-cell labels, these labels function primarily as covariates for modeling batch-associated effects rather than as definitive biological annotations. In a continuous trajectory simulation, COBRA markedly reduced residual batch effects while preserving the global pseudotime structure, both in terms of pseudotime–PC correlation and low-dimensional trajectory topology (Fig. S13). These results suggest that COBRA remains applicable when the underlying biological process is continuous, particularly when the trajectory can be approximated locally. Nevertheless, for strongly continuous processes, more conservative formulations such as batch-only correction or coarse pseudotime stratification may be preferable to relying solely on discrete pseudo-cell labels.
Supplementary Material
Contributor Information
Sujin Seo, Department of Biostatistics, Harvard T.H. Chan School of Public Health, Boston, MA 02115, United States; Department of Public Health Science, Graduate School of Public Health, Seoul National University, Seoul 08826, Republic of Korea.
Sungho Won, Department of Public Health Science, Graduate School of Public Health, Seoul National University, Seoul 08826, Republic of Korea; RexSoft Inc, Seoul 08826, Republic of Korea; Institute of Health and Environment, Seoul National University, Seoul 08826, Republic of Korea.
Kyungtaek Park, Department of Statistics, Jeonbuk National University, Jeonju 54896, Republic of Korea; Institute of Applied Statistics, Jeonbuk National University, Jeonju 54896, Republic of Korea.
Author contributions
Sungho Won (Conceptualization [equal], Funding acquisition [equal], Methodology [equal], Project administration [equal], Supervision [equal], Writing—review & editing [equal]), Kyungtaek Park (Conceptualization [equal], Data curation [equal], Formal analysis [equal], Investigation [equal], Methodology [equal], Project administration [equal], Software [equal], Supervision [equal], Writing—review & editing [equal]), and Sujin Seo (Data curation [equal], Formal analysis [equal], Investigation [equal], Methodology [equal], Resources [equal], Software [equal], Validation [equal], Visualization [equal], Writing—original draft [equal], Writing—review & editing [equal])
Supplementary material
Supplementary material is available at Bioinformatics online.
Conflict of interests
The authors declare that they have no competing interests.
Funding
This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) [RS-2021-NR060088 and RS-2024–00346850].
Data availability
The benchmark datasets used and/or analysed during the current study are available in Tran et al. (2020), https://hub.docker.com/r/jinmiaochenlab/batch-effect-removal-benchmarking. The codes are publicly available at Zenodo (https://doi.org/10.5281/zenodo.19891355).
References
- Alexa A, Rahnenführer J. Gene set enrichment analysis with topgo. Bioconductor Improv 2009;27:1–26. 10.18129/B9.bioc.topGO [DOI] [Google Scholar]
- Baron M, Veres A, Wolock SL et al. A single-cell transcriptomic map of the human and mouse pancreas reveals inter- and intra-cell population structure. Cell Syst 2016;3:346–60.e4, e344. 10.1016/j.cels.2016.08.011 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Butler A, Hoffman P, Smibert P et al. Integrating single-cell transcriptomic data across different conditions, technologies, and species. Nat Biotechnol 2018;36:411–20. 10.1038/nbt.4096 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Camp JG, Badsha F, Florio M et al. Human cerebral organoids recapitulate gene expression programs of fetal neocortex development. Proc Natl Acad Sci USA 2015;112:15672–7. 10.1073/pnas.1520760112 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chen W, Zhao Y, Chen X et al. A multicenter study benchmarking single-cell RNA sequencing technologies using reference samples. Nat Biotechnol 2021;39:1103–14. 10.1038/s41587-020-00748-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Divya V, Devi KN. An efficient approach to determine number of clusters using principal component analysis. In: 2018 International Conference on Current Trends towards Converging Technologies (ICCTCT), p.1–6. IEEE, 2018.
- Edahiro R, Shirai Y, Takeshima Y, Japan COVID-19 Task Force et al. Single-cell analyses and host genetics highlight the role of innate immune cells in COVID-19 severity. Nat Genet 2023;55:753–67. 10.1038/s41588-023-01375-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fei T, Yu T. scBatch: batch-effect correction of RNA-seq data through sample distance matrix adjustment. Bioinformatics 2020;36:3115–23. 10.1093/bioinformatics/btaa097 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Finak G, McDavid A, Yajima M et al. MAST: a flexible statistical framework for assessing transcriptional changes and characterizing heterogeneity in single-cell RNA sequencing data. Genome Biol 2015;16:278. 10.1186/s13059-015-0844-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Haghverdi L, Lun ATL, Morgan MD et al. Batch effects in single-cell RNA-sequencing data are corrected by matching mutual nearest neighbors. Nat Biotechnol 2018;36:421–7. 10.1038/nbt.4091 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Han X, Wang R, Zhou Y et al. Mapping the mouse cell atlas by Microwell-Seq. Cell 2018;173:1307. 10.1016/j.cell.2018.05.012 [DOI] [PubMed] [Google Scholar]
- Hao Y, Stuart T, Kowalski MH et al. Dictionary learning for integrative, multimodal and scalable single-cell analysis. Nat Biotechnol 2024;42:293–304. 10.1038/s41587-023-01767-y [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hester J, Vaughan D. Bench: high precision timing of R expressions. R Package Version 1, 2020.
- Hicks SC, Teng M, Irizarry RA. On the widespread and critical impact of systematic bias and batch effects in single-cell RNA-Seq data. BioRxiv 2015;100:25528. 10.1101/025528 [DOI] [Google Scholar]
- Hie B, Bryson B, Berger B. Efficient integration of heterogeneous single-cell transcriptomes using scanorama. Nat Biotechnol 2019;37:685–91. 10.1038/s41587-019-0113-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hsiao CJ, Tung P, Blischak JD et al. Characterizing and inferring quantitative cell cycle phase in single-cell RNA-seq data analysis. Genome Res 2020;30:611–21. 10.1101/gr.247759.118 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Johnson WE, Li C, Rabinovic A. Adjusting batch effects in microarray expression data using empirical bayes methods. Biostatistics 2007;8:118–27. 10.1093/biostatistics/kxj037 [DOI] [PubMed] [Google Scholar]
- Korsunsky I, Millard N, Fan J et al. Fast, sensitive and accurate integration of single-cell data with harmony. Nat Methods 2019;16:1289–96. 10.1038/s41592-019-0619-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Law CW, Chen Y, Shi W et al. Voom: precision weights unlock linear model analysis tools for RNA-seq read counts. Genome Biol 2014;15:R29. 10.1186/gb-2014-15-2-r29 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lin Y, Cao Y, Willie E et al. Atlas-scale single-cell multi-sample multi-condition data integration using scMerge2. Nat Commun 2023;14:4272. 10.1038/s41467-023-39923-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lopez R, Regier J, Cole MB et al. Deep generative modeling for single-cell transcriptomics. Nat Methods 2018;15:1053–8. 10.1038/s41592-018-0229-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Luecken MD, Büttner M, Chaichoompu K et al. Benchmarking atlas-level data integration in single-cell genomics. Nat Methods 2022;19:41–50. 10.1038/s41592-021-01336-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Macosko EZ, Basu A, Satija R et al. Highly parallel genome-wide expression profiling of individual cells using nanoliter droplets. Cell 2015;161:1202–14. 10.1016/j.cell.2015.05.002 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Muraro MJ, Dharmadhikari G, Grün D et al. A single-cell transcriptome atlas of the human pancreas. Cell Syst 2016;3:385–94.e3, e383. 10.1016/j.cels.2016.09.002 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nestorowa S, Hamey FK, Pijuan Sala B et al. A single-cell resolution map of mouse hematopoietic stem and progenitor cell differentiation. Blood 2016;128:e20–31–e31. 10.1182/blood-2016-05-716480 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Paul F, Arkin Y, Giladi A et al. Transcriptional heterogeneity and lineage commitment in myeloid progenitors. Cell 2015;163:1663–77. 10.1016/j.cell.2015.11.013 [DOI] [PubMed] [Google Scholar]
- Piñero J, Ramírez-Anguita JM, Saüch-Pitarch J et al. The DisGeNET knowledge platform for disease genomics: 2019 update. Nucleic Acids Res 2020;48:D845–D855. 10.1093/nar/gkz1021 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Quinn T. peakRAM: Monitor the total and peak RAM used by an expression or function. CRAN, Vienna, Austria, 2017.
- Ritchie ME, Phipson B, Wu D et al. Limma powers differential expression analyses for RNA-sequencing and microarray studies. Nucleic Acids Res 2015;43:e47. 10.1093/nar/gkv007 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rosenberg AB, Roco CM, Muscat RA et al. Single-cell profiling of the developing mouse brain and spinal cord with split-Pool barcoding. Science 2018;360:176–82. 10.1126/science.aam8999 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Saunders A, Macosko EZ, Wysoker A et al. Molecular diversity and specializations among the cells of the adult mouse brain. Cell 2018;174:1015–30.e16. 10.1016/j.cell.2018.07.028 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Segerstolpe Å, Palasantza A, Eliasson P et al. Single-cell transcriptome profiling of human pancreatic islets in health and type 2 diabetes. Cell Metab 2016;24:593–607. 10.1016/j.cmet.2016.08.020 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Shekhar K, Lapan SW, Whitney IE et al. Comprehensive classification of retinal bipolar neurons by Single-Cell transcriptomics. Cell 2016;166:1308–23.e30. e1330. 10.1016/j.cell.2016.07.054 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Stephenson E, Reynolds G, Botting RA, Cambridge Institute of Therapeutic Immunology and Infectious Disease-National Institute of Health Research (CITIID-NIHR) COVID-19 BioResource Collaboration et al. Single-cell multi-omics analysis of the immune response in COVID-19. Nat Med 2021;27:904–16. 10.1038/s41591-021-01329-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Street K, Risso D, Fletcher RB et al. Slingshot: cell lineage and pseudotime inference for single-cell transcriptomics. BMC Genomics 2018;19:477. 10.1186/s12864-018-4772-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tabula Muris Consortium et al. Single-cell transcriptomics of 20 mouse organs creates a Tabula muris. Nature 2018;562:367–72. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tian Y, Carpp LN, Miller HER et al. Single-cell immunology of SARS-CoV-2 infection. Nat Biotechnol 2022;40:30–41. 10.1038/s41587-021-01131-y [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tran HTN, Ang KS, Chevrier M et al. A benchmark of batch-effect correction methods for single-cell RNA sequencing data. Genome Biol 2020;21:12. 10.1186/s13059-019-1850-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wang YJ, Schug J, Won K-J et al. Single-Cell transcriptomics of the human endocrine pancreas. Diabetes 2016;65:3028–38. 10.2337/db16-0405 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Xin Y, Kim J, Okamoto H et al. RNA sequencing of single human islet cells reveals type 2 diabetes genes. Cell Metab 2016;24:608–15. 10.1016/j.cmet.2016.08.018 [DOI] [PubMed] [Google Scholar]
- Xiong Y, Liu Y, Cao L et al. Transcriptomic characteristics of bronchoalveolar lavage fluid and peripheral blood mononuclear cells in COVID-19 patients. Emerg Microbes Infect 2020;9:761–70. 10.1080/22221751.2020.1747363 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zappia L, Phipson B, Oshlack A. Splatter: simulation of single-cell RNA sequencing data. Genome Biol 2017;18:174. 10.1186/s13059-017-1305-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zheng GXY, Terry JM, Belgrader P et al. Massively parallel digital transcriptional profiling of single cells. Nat Commun 2017;8:14049. 10.1038/ncomms14049 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zucker DM, Lieberman O, Manor O. Improved small sample inference in the mixed linear model: bartlett correction and adjusted likelihood. J R Stat Soc Ser B Stat Methodol 2000;62:827–38. 10.1111/1467-9868.00267 [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The benchmark datasets used and/or analysed during the current study are available in Tran et al. (2020), https://hub.docker.com/r/jinmiaochenlab/batch-effect-removal-benchmarking. The codes are publicly available at Zenodo (https://doi.org/10.5281/zenodo.19891355).
