
94% of researchers rate our articles as excellent or good
Learn more about the work of our research integrity team to safeguard the quality of each article we publish.
Find out more
ORIGINAL RESEARCH article
Front. Microbiol. , 25 February 2025
Sec. Systems Microbiology
Volume 16 - 2025 | https://doi.org/10.3389/fmicb.2025.1484183
Background: Batch effects refer to data variations that arise from non-biological factors such as experimental conditions, equipment, and external factors. These effects are considered significant issues in the analysis of biological data since they can compromise data consistency and distort actual biological differences, which can severely skew the results of downstream analyses.
Method: In this study, we introduce a new approach that comprehensively addresses two types of batch effects: “systematic batch effects” which are consistent across all samples in a batch, and “nonsystematic batch effects” which vary depending on the variability of operational taxonomic units (OTUs) within each sample in the same batch. To address systematic batch effects, we apply a negative binomial regression model and correct for consistent batch influences by excluding fixed batch effects. Additionally, to handle nonsystematic batch effects, we employ composite quantile regression. By adjusting the distribution of OTUs to be similar based on a reference batch selected using the Kruskal-Walis test method, we consider the variability at the OTU level.
Results: The performance of the model is evaluated and compared with existing methods using PERMANOVA R-squared values, Principal Coordinates Analysis (PCoA) plots and Average Silhouette Coefficient calculated with diverse distance-based metrics. The model is applied to three real microbiome datasets: Metagenomic urine control data, Human Immunodeficiency Virus Re-analysis Consortium data, and Men and Women Offering Understanding of Throat HPV study data. The results demonstrate that the model effectively corrects for batch effects across all datasets.
The human microbiome, comprising diverse microorganisms across various body sites, is crucial for understanding health and disease dynamics (Ursell et al., 2012; Wang and LêCao, 2020). Advances in sequencing technologies have deepened our understanding by enabling researchers to not only identify microbial species but also to understand their functional roles within the ecosystem. However, these advancements have also highlighted challenges like batch effects—discrepancies across sample batches that can distort biological insights (Leek and Storey, 2007). That is, batch effects refer to systematic and non-systematic discrepancies or variations that arise during the processing of samples in a study (Lazar et al., 2013; Wang and LêCao, 2020). Systematic batch effects represent the consistent differences across all samples within a batch, and nonsystematic batch effects demonstrate variability that is dependent on the diversity of OTUs present within each individual sample of the same batch (Soneson et al., 2014). Key factors contributing to these effects include variations in sample collection, DNA extraction methods, sequencing protocols, and data analysis techniques. Microbiome data's inherent properties—high zero-inflation, over-dispersion—exacerbate the impact of batch effects. Zero-inflation indicates the presence of many zeros in the data, which highlights the scarcity or absence of certain microbial species in many samples. Over-dispersion arises from individual variability and technical differences in sequencing depth, complicating data analysis.
While numerous methods exist for correcting batch effects in high-throughput data, many assume continuous data and are not directly applicable to microbiome data, which typically consist of count data. Traditional methods, such as the ComBat algorithm (Johnson et al., 2007), typically assume a Gaussian distribution. Based on this, extensions for count data such as RNA-seq have been developed that utilize a negative binomial distribution. This approach is more aligned with the inherent properties of the data and effectively adjusts for consistent batch patterns. However, while this method is applicable for addressing systematic batch effects, it struggles to fully correct for non-systematic batch influences caused by irregular experimental errors or the unique characteristics of individual samples.
Another approach, Meta-analysis Methods with a Uniform Pipeline for Heterogeneity in microbiome studies (MMUPHin) provides a comprehensive solution for managing heterogeneity in microbiome studies (Ma et al., 2022). This method includes joint normalization and meta-analysis techniques specifically designed for the unique characteristics of microbiome data. Its adaptability is especially effective for handling the diverse and often non-parametric nature of microbiome count data. However, MMUPHin assumes the data to be Zero-inflated Gaussian, which is primarily suitable only for certain transformations of relative abundance data, such as taxon counts normalized by each sample's library size. This assumption limits its applicability, indicating a need for more flexible approaches in certain scenarios. Percentile normalization is a method by which data can be converted to a uniform distribution based on percentiles (Gibbons et al., 2018). This transformation helps mitigate the effects of over-dispersion and the high zero count. However, a key limitation of percentile-normalization lies in its potential to oversimplify complex data structures, possibly leading to the loss of meaningful biological variance. This issue can be particularly critical when dealing with highly diverse microbiome samples. Recently, new methods for batch effect correction have been introduced, tailored specifically to design unique characteristics of microbiome data. Among those approaches, Conditional Quantile Regression (ConQuR) (Ling et al., 2021a,b) utilizes a conditional quantile regression approach for batch effect correction, enabling the generation of corrected OTUs. ConQuR independently processes each OTU without assuming a specific distribution, offering flexible handling of data. However, when OTUs across batches exhibit significantly different distributions, each quantile may represent different characteristics, potentially compromising the consistency of the analysis results. While using a reference batch to standardize OTU distributions can address fundamental inter-batch differences, the effectiveness of this approach heavily depends on the extent of these differences and the appropriateness of the chosen reference batch. If the reference batch does not adequately represent the characteristics of other batches, this method may introduce additional distortions.
We used the first dataset from multiple individual studies derived through the Human Immunodeficiency Virus Re-analysis Consortium (HIVRC) (Deeks et al., 2015; Tuddenham et al., 2020; Ling et al., 2021a,b). This integrated dataset, based on fecal samples, provides microbial profiles indicative of the gut microbiome. It comprises 17 individual datasets, including 16S rRNA gene sequences from both HIV-uninfected (HIV-) and HIV-infected (HIV+) patients. Out of the 17 studies within the HIVRC, we selected 4 specific datasets for our analysis, namely those from Noguera-Julian, Pinto-Cardoso, Serrano-Villar, and Vesterbacka (Table 1). The selection criteria were based on the study design (either case-control or cross-sectional) and the sample type. These criteria ensured that the selected studies were compatible and relevant for our model validation purposes. Publicly available dataset was used in this study.
We used the second dataset from the Men and Women Offering Understanding of Throat Human Papillomavirus (MOUTH) study (Zhang et al., 2022). This cross-sectional study includes 16S rRNA gene sequences from participants with oncogenic oral HPV infection or HPV seropositive antibodies. The dataset is composed of samples distributed across seven distinct sequencing batches, each identified by a unique Batch ID. The HPV dataset includes various covariates, summarized as follows: sample size, age [mean (SD)], smoking status, sexual orientation, and HPV status. Smoking status is categorized as Never smoker (0), Former smoker (1), and Current smoker (2), with the reported percentages indicating the proportion of participants who have ever smoked (including both former and current smokers). Sexual orientation is categorized as Heterosexual (0), Homosexual (1), and Others (2). HPV status represents the percentage of participants with a positive HPV status. This dataset is divided into 7 batches based on the experimental plates used during sequencing, allowing for the consideration of potential batch effects arising from differences in sample processing. These variables, including smoking status and sexual orientation, are incorporated into the analysis to control for potential confounding factors (Table 2). Publicly available dataset was used in this study.
Here, we suppose that the entry Yijg denotes a count value for the jth OTU of the ith sample from the gth batch, with i = 1, …, n, j = 1, …, m, g = 1, …, k. Covariates such as important biomedical, demographic, genomic, and other information based on prior knowledge are represented as Xi, which is the vector of fixed effects and β is the vector of the fixed effects coefficients (Zhang et al., 2017).
We describe the negative binomial regression model used for batch effect adjustment. In our approach, it is employed to estimate the count of OTUs, considering the influence of covariates and batch ID as a fixed effect. By treating the batch ID as a fixed effect, this model can directly account for the consistent differences observed across batches. This model specifically targets the non-zero counts of OTUs, denoted as Yijg |Yijg > 0. The counts are assumed to follow a negative binomial distribution (Tran et al., 2020), represented by Yijg |Yijg > 0 ~ NB(μijg, θjg), where μijg is expected count and θjg is the dispersion parameter of the negative binomial distribution. The equation for this model is expressed as follows (Chen and Li, 2016; Dong et al., 2020; Li et al., 2023; Yirga et al., 2020):
In this equation, σj represents the baseline expression level for the jth OTU, reflecting the unique characteristics of each OTU. Xi is the vector of the covariates for the ith sample, βj is the vector of coefficients for the jth OTU, γjg is the mean batch effect for the jth OTU in the gth batch, and logNi represents the library size, i.e., the total counts across all OTUs in the ith sample (Johnson et al., 2007; Zhang et al., 2020; Ramakodi, 2021).
The variance of the negative binomial distribution is defined as:
This setup allows us to account for the baseline expression levels, import ant biological covariates, and batch effects in the analysis, providing an adequate structure for modeling OTU counts in microbiome data. To adjust for batch effects, the log-transformed mean parameter log(μijg) is adjusted by subtracting the batch effect term (Van den Berg et al., 2006):
where is the adjusted mean parameter. The variance parameter for the jth OTU in the gth batch, θjg, is averaged across all batches to obtain a consistent variance parameter:
where is the average variance parameter for the jth OTU and NG is the total number of batches. By averaging these parameters, we can apply a consistent variance across all batches, reducing variability caused by individual batch effects that can be caused by non-interest variables (Johnson et al., 2007; Zhang et al., 2020).
The adjusted counts calculated using the refined parameters and are modeled to follow negative binomial distribution . Adjusted values are then derived by mapping the data from the empirical distribution of the original counts to the batch-free distribution, according to quantile levels. This mapping process ensures that the batch-specific effects are removed, and the adjusted counts are comparable across different batches.
We proceed with an additional process to address variability at the OTU level using the adjusted OTU count. It initiates with utilizing logistic regression to estimate the probability of nonzero occurrences within the adjusted OTU table (Zhang and Yi, 2020). This probabilistic model serves to identify samples where the presence of OTU is confirmed. Subsequently, quantile regression is applied to these identified samples (Pendegraft et al., 2019).
Here, denotes the count of the jth adjusted OTU in the ith sample, Xi represents the covariates for this observation, Bi is random effect term for the ith sample, capturing the batch effect. ζ is the coefficient vector linked to covariates, and ψ is the coefficient vector associated with batch effects. qij denotes the probability of nonzero occurrences within the adjusted OTU table, and it is crucial for understanding the likelihood of observing nonzero counts for a given OTU in the adjusted OTU table.
We employ Composite Quantile Regression (CQR) to robustly model microbiome data, which exhibits zero-inflation and a high frequency of outliers. This method allows for the estimation of conditional values of microbial OTUs across various quantiles. For non-zero microbial counts, the conditional quantile function of the response variable is defined as Ling et al. (2021a,b); Koenker and Hallock (2001):
In this equation, α(τ), δ(τ) is the vector of regression coefficients specific to quantile level with a large k (e.g., 5th, 10th, …, 95th percentiles with k = 19). This allows us to capture the distributional characteristics of the data across various quantiles. This model diverges from traditional quantile regression by adopting a unified set of regression coefficients across all quantiles. This approach facilitates a more streamlined estimation process that leverages the robustness of quantile regression while simplifying the model complexity typically associated with estimating separate coefficients for each quantile.
In this formula, ρτ(u) is the check loss function calculated as ρτ(u) = u[τ−I(u < 0)], T is the set of target quantiles, n is the number of samples, and m is the number of OTUs. This formulation reduces the influence of outliers compared to mean regression and provides a deeper understanding of the overall distribution by analyzing data across various quantiles (He et al., 2023).
Then, we incorporate the zero-inflation aspect by accounting for the probability of the response variable being zero. This approach allows us to effectively handle datasets with many zero values by considering the original distribution of the data. We combine the zero probability with the previously estimated quantile function to create a unified model that explains the entire data distribution, including both zero and positive values (Ling, 2019).
The selection of the reference batch is pivotal in the quantile regression framework as it serves as the baseline to which the distribution of counts (given the OTU is present) are aligned. The reference batch is not chosen based on size or abundance alone, as these factors do not necessarily indicate the quality or representativeness of the batch. To identify potential reference batches that demonstrate homogeneity across multiple microbial datasets, we apply the Kruskal-Wallis test (Kruskal and Wallis, 1952). This non-parametric method assesses whether the median values across different batches are statistically similar, indicating stable baseline conditions across these groups. Batches that do not show significant differences in their medians indicate the possibility of consistent performance across various batches and are shortlisted for further evaluation (Kruskal and Wallis, 1952; Chakraborty et al., 2011). Given the high prevalence of outliers and zero counts in microbiome data, traditional measures of variability such as the standard coefficient of variation (CV) may not provide reliable insights. Instead, we utilize a Robust CV, defined as the ratio of the Median Absolute Deviation (MAD) to the median of the data, multiplied by 100% (Pham-Gia and Hung, 2001):
This formula offers a more resilient measure against the skewness and anomalies inherent in microbiome data. Among the batches identified as homogeneous by the Kruskal-Wallis test, the batch exhibiting the lowest Robust CV is selected as the optimal reference. This batch is expected to have the least variability, making it the best candidate for minimizing batch effects in the subsequent analyses. Supplementary material including the code and data used in this study, is available at https://github.com/JIWONNP/Composite-Quantile-Regerssion.
In our study, we conducted an empirical evaluation of batch effect correction methods, including MMUPHin, Percentile Normalization, ConQuR, ComBat and our proposed model. To demonstrate the effectiveness of our proposed model, we used PERMANOVA R2 (Tables 3, 4), Average Silhouette Coefficient for quantification and Principal Coordinates Analysis (PCoA) plots (Figures 1–5) for visualization. A range of dissimilarity metrics commonly used in microbiome research were employed for this evaluation. We compared the values for each method across different dissimilarity metrics (Song et al., 2023): Bray-Curtis, Aitchison, Canberra, and Manhattan. The outcomes of the Kruskal-Wallis test indicate no significant differences between the distributions of batch groups, suggesting that the negative binomial regression model appropriately formed similar distribution pattern by excluding consistent effects across each batch.
Figure 1. PCoA plots of HIVRC dataset. Each plot corresponds to a different dissimilarity measure. These metrics capture different aspects of the data's structure in pre-correction data. The colors represent batch ID indicating in which of the individual studies that each sample was included. If spatial patterns among data points from various batches are consistent, this is indicative of effective batch effect correction. Distinct colors represent different batches, and the intermingling of these colors rather than clear segregation indicates a high degree of batch effect correction.
Figure 2. Comparative PCoA plot across diverse methods of HIVRC dataset. Each row shows data points clustered by batch ID. The first column is the original data without any batch effect correction. The following columns show the data after applying existing methods and proposed model. Each row corresponds to a different dissimilarity metric used in the PCoA algorithm. The batch IDs were coded as follows: “Noguera-Julian” = 1, “Pinto-Cardoso” = 2, “Serrano-Villar 2017” = 3, and “Vesterbacka” = 4. The variation across rows demonstrates how the choice of dissimilarity metric affects the visualization of batch effects and their correction.
Figure 3. PCoA plots of HPV dataset. Each plot corresponds to a different dissimilarity measure. These metrics capture different aspects of the data's structure. The colors represent seven batch ID indicating individual PlateID that each sample was included.
Figure 4. Comparative PCoA plots across diverse methods of HPV dataset. Each row shows data points clustered by 7 batch ID. The first column is the original data without any batch effect correction. The following columns show the data after applying existing methods and proposed model. Each row corresponds to a different dissimilarity metric used in the PCoA algorithm. The batch IDs were coded as follows: “p68_s01_JH1_16SV4” = 1, “p68_s07_JH7_16SV4” = 2, “p68_s02_JH2_16SV4” = 3, and “p68_s03_JH3_16SV4”= 4, “p68_s04_JH4_16SV4” = 5, “p68_s05_JH5_16SV4” = 6, “p68_s06_JH6_16SV4” = 7.
Figure 5. Average Silhouette coefficient of each dataset. The silhouette coefficient measures the quality of clustering (Llet et al., 2004). When the silhouette coefficient is close to 1, it means the samples are well-separated within their own group and distinctly apart from other groups, implying that batch effects are still present. A silhouette coefficient close to 0 suggests that the boundaries between groups are ambiguous and there are no clear distinctions, indicating that the samples are well-mixed and batch effect correction is most ideal. Conversely, a silhouette coefficient close to −1 means that the samples have poor cohesion within their group and are closer to samples in other groups, indicating poor batch effect correction. Four different distance metrics were employed: Bray-curtis (red), Aitchison (green), Canberra (blue), and Manhattan (purple).
Results from the analysis of the Human Immunodeficiency Virus Re-analysis Consortium dataset are presented below. These were analyzed to evaluate the effectiveness of our proposed model in correcting batch effects and maintaining the integrity of the microbiome data. For Bray-Curtis dissimilarity, the proposed model achieved the lowest R2 value of 0.0128*, indicating superior performance in batch effect correction compared to other methods. ConQuR also performed well with a R2 value of 0.0149*, while MMUPHin and ComBat showed moderate performance with R2 values of 0.0822* and 0.0637*, respectively (Table 4). Regarding Aitchison dissimilarity, the proposed model had a higher R2 value of 0.0854*, indicating less effective correction in this specific metric and ComBat demonstrated better performance with R2 values of 0.0564*. ConQuR showed the highest R2 value of 0.0901*, suggesting the least effective correction in this metric. For Canberra dissimilarity, MMUPHin achieved the lowest R2 value of 0.0779*, closely followed by ComBat with an R2 value of 0.0825*. The proposed model had R2 value of 0.1493*, which was lower than ConQuR's R2 value of 0.1628*, indicating moderate performance. In the case of Manhattan dissimilarity, the proposed model excelled with the lowest R2 value of 0.0065*, demonstrating excellent batch effect correction. ConQuR and ComBat showed moderate performance with R2 values of 0.0087* and 0.0137*, respectively. This analysis confirms the effectiveness of various methods in addressing batch effects, with significant values (P ≤ 0.05) marked by an asterisk (*). This calculation was conducted using the “adonis” function of vegan package (2.6–6.1) in R.
Overall, our proposed method consistently achieved lower R2 values, indicating a significant reduction in batch effects across various dissimilarity measures. This performance underscores the robustness and superior effectiveness of our method in correcting batch effects in microbiome data. MMUPHin and Percentile Normalization exhibited intermediate performance across most dissimilarity measures, while ConQuR and ComBat showed varying effectiveness depending on the metric used. The effectiveness of batch effect correction varies across different distance metrics, as each metric considers different aspects of the data. Bray-Curtis and Manhattan metrics reflect compositional differences between samples. The Bray-Curtis metric focuses on the relative abundance of shared OTUs between samples, highlighting how similarly the samples are composed in terms of the OTUs they have in common. Similarly, the Manhattan metric considers the absolute differences in abundance, treating all changes equally. Therefore, Bray-Curtis and Manhattan metrics effectively capture overall abundance differences and compositional changes in data. On the other hand, Aitchison and Canberra metrics emphasize ratio-based differences and small values. The Aitchison metric, used for compositional data, is sensitive to variations in the relative abundance of OTUs, considering ratio fluctuations. The Canberra metric assigns greater weight to changes in small values, highlighting differences in proportions with smaller magnitudes. Due to these characteristics, in composite quantile regression models, the effectiveness of adjustments can be diminished when using distance metrics like Aitchison and Canberra, depending on the selected regression coefficients (Ricotta, 2017). This comprehensive evaluation highlights the proposed model's ability to handle batch effects more effectively, ensuring reliable analysis of microbiome data.
The proposed model consistently achieved the lowest R2 values across all distance metrics in the HPV dataset, demonstrating optimal batch effect correction performance with values of 0.002*, 0.0246*, 0.0264*, and 0.0029* for the Bray-Curtis, Aitchison, Canberra, and Manhattan distance metrics, respectively (Table 4). The prominent results of the proposed model with the Bray-Curtis and Manhattan distance metrics can be attributed to the characteristics of the composite quantile regression model described previously.
Our model employs a Negative Binomial approach to model the variability within batch effects, aiming to align batch distributions and exclude generalized effects across batches. We select the reference batch through a methodical process, employing the Kruskal-Wallis test and median absolute deviation to identify batches that consistently reflect the general characteristics of the data. Furthermore, our approach incorporates composite quantile regression which addresses the effects within each batch at the OTU level. This procedure ensures that our model not only corrects for obvious systematic differences but also subtly adjusts for less predictable changes within the microbiome data, leading to a more reliable results of biological data across different batches.
When applied to the HIVRC data, and the HPV study data, this model demonstrated considerable success in reducing batch effects. It showed improved correction results compared to the application of conditional quantile regression independently, consistently across these different datasets. By effectively addressing both systematic and non-systematic batch effects, the proposed method ensures a more reliable and accurate analysis of microbiome data. We also verified that similar results were obtained using an additional dataset (Ewha Women's University Medical Center metagenomic urine control data−16S rRNA sequencing data). Given the similarity of observed patterns, we chose to present results from two representative datasets.
Despite the effectiveness of our proposed method, several limitations should be acknowledged. First, microbiome data often contain a high proportion of zeros that can lead to instability in quantile regression at extreme quantiles (e.g., lower 10% and upper 90%) due to the limited number of non-zero data points. This sparsity can affect the robustness and accuracy of the regression estimates at these extreme quantiles. In practice, the dataset with the lowest zero inflation (31%) showed the best results in correcting batch effect based on quantile estimation and based on this, it was determined that the rate of zero inflation could act as a factor that decreases the stability of the model. Furthermore, the performance of the model may vary depending on the metrics or categories of data used. Different datasets or dissimilarity distance measures may influence the effectiveness of the batch effect correction, indicating that the model's performance is not universally consistent across all possible applications. Lastly, the efficacy of our model may be compromised in research designs where the separation of confounding variables from primary variables is challenging. Addressing batch effects in confounded study designs presents considerable difficulties, and careful experimental design can serve as a critical factor in alleviating batch effects. These limitations highlight the need for further refinement of the model to enhance its robustness and applicability across diverse microbiome datasets. Additionally, the model assumes that the count data follow a negative binomial distribution, which may not always be the case in real-world microbiome data. Also, when various trends or patterns clearly emerge across different quantiles of the data, it may be more appropriate to use regression coefficients specialized for each quantile.
Publicly available datasets were analyzed in this study. This data can be found here: (1) HIVRC [https://www.synapse.org/Synapse:syn18406803/wiki/589668] (ID: syn18406803). (2) HPV [https://www.synapse.org/Synapse:syn26529406/wiki/614952] (ID: syn26529406).
Ethical approval was not required for the study involving humans in accordance with the local legislation and institutional requirements. Written informed consent to participate in this study was not required from the participants or the participants' legal guardians/next of kin in accordance with the national legislation and the institutional requirements. The manuscript presents research on animals that do not require ethical approval for their study.
JP: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. TP: Project administration, Supervision, Validation, Writing – review & editing.
The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This research was supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF), funded by the Ministry of Education (NRF-2022R1A2C1092497).
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fmicb.2025.1484183/full#supplementary-material
Anderson, M. J. (2014). Permutational Multivariate Analysis Of Variance (PERMANOVA). Hoboken: Wiley, 1–15.
Chakraborty, S., Balasubramanian, V., and Panchanathan, S. (2011). “Optimal batch selection for active learning in multi-label classification,” in Proceedings of the 19th ACM International Conference on Multimedia (New York, NY: ACM), 1413–1416.
Chen, E. Z., and Li, H. (2016). A two-part mixed-effects model for analyzing longitudinal microbiome compositional data. Bioinformatics 32, 2611–2617. doi: 10.1093/bioinformatics/btw308
Deeks, S. G., Overbaugh, J., Phillips, A., and Buchbinder, S. (2015). HIV infection. Nature Rev. Dis. Prim. 1, 1–22. doi: 10.1038/nrdp.2015.35
Dong, M., Li, L., Chen, M., Kusalik, A., and Xu, W. (2020). Predictive analysis methods for human microbiome data with application to Parkinson's disease. PLoS ONE 15:e0237779 doi: 10.1371/journal.pone.0237779
Gibbons, S. M., Duvallet, C., and Alm, E. J. (2018). Correcting for batch effects in case-control microbiome studies. PLoS Comput. Biol. 14:e1006102. doi: 10.1371/journal.pcbi.1006102
He, X., Pan, X., Tan, K. M., and Zhou, W. X. (2023). Smoothed quantile regression with large-scale inference. J. Econom. 232, 367–388.
Johnson, W. E., Li, C., and Rabinovic, A. (2007). Adjusting batch effects in microarray expression data using empirical Bayes methods. Biostatistics 8, 118–127. doi: 10.1093/biostatistics/kxj037
Kelly, B. J., Gross, R., Bittinger, K., Sherrill-Mix, S., Lewis, J. D., Collman, R. G., et al. (2015). Power and sample-size estimation for microbiome studies using pairwise distances and PERMANOVA. Bioinformatics 31, 2461–2468. doi: 10.1093/bioinformatics/btv183
Koenker, R., and Hallock, K. F. (2001). Quantile regression. J. Econ. Perspect. 15, 143–156. doi: 10.1257/jep.15.4.143
Kruskal, W. H., and Wallis, W. A. (1952). Use of ranks in one-criterion variance analysis. J. Am. Stat. Assoc. 47, 583–621. doi: 10.1080/01621459.1952.10483441
Lazar, C., Meganck, S., Taminau, J., Steenhoff, D., Coletta, A., Molter, C., et al. (2013). Batch effect removal methods for microarray gene expression data integration: a survey. Brief. Bioinformatics 14, 469–490. doi: 10.1093/bib/bbs037
Leek, J. T., and Storey, J. D. (2007). Capturing heterogeneity in gene expression studies by surrogate variable analysis. PLoS Genet. 3:e161. doi: 10.1371/journal.pgen.0030161
Li, T., Zhang, Y., Patil, P., and Johnson, W. E. (2023). Overcoming the impacts of two-step batch effect correction on gene expression estimation and inference. Biostatistics 24, 635–652. doi: 10.1093/biostatistics/kxab039
Ling, W. (2019). Quantile Regression for Zero-Inflated Outcomes (Doctoral dissertation). Columbia University, New York, NY, United States.
Ling, W., Zhao, N., Lulla, A., Plantinga, A. M., Fu, W., Zhang, A., et al. (2021a). Batch effects removal for microbiome data via conditional quantile regression (ConQuR). bioRxiv. doi: 10.1101/2021.09.23.461592
Ling, W., Zhao, N., Plantinga, A. M., Launer, L. J., Fodor, A. A., Meyer, K. A., et al. (2021b). Powerful and robust non-parametric association testing for microbiome data via a zero-inflated quantile approach (ZINQ). Microbiome 9, 1–19. doi: 10.1186/s40168-021-01129-3
Lleti, R., Ortiz, M. C., Sarabia, L. A., and Sánchez, M. S. (2004). Selecting variables for k-means cluster analysis by using a genetic algorithm that optimises the silhouettes. Anal. Chim. Acta 515, 87–100. doi: 10.1016/j.aca.2003.12.020
Ma, S., Shungin, D., Mallick, H., Schirmer, M., Nguyen, L. H., Kolde, R., et al. (2022). Population structure discovery in meta-analyzed microbial communities and inflammatory bowel disease using MMUPHin. Genome Biol. 23:208.
Pendegraft, A. H., Guo, B., and Yi, N. (2019). Bayesian hierarchical negative binomial models for multivariable analyses with applications to human microbiome count data. PLoS ONE 14:e0220961. doi: 10.1371/journal.pone.0220961
Pham-Gia, T., and Hung, T. L. (2001). The mean and median absolute deviations. Math. Comput. Model. 34, 921–936. doi: 10.1016/S0895-7177(01)00109-1
Pinto-Cardoso, S., Lozupone, C., Briceño, O., Alva-Hernández, S., Téllez, N., Adriana, A., et al. (2017). Fecal bacterial communities in treated HIV infected individuals on two antiretroviral regimens. Sci. Rep. 7:43741. doi: 10.1038/srep43741
Ramakodi, M. P. (2021). Effect of amplicon sequencing depth in environmental microbiome research. Curr. Microbiol. 78, 1026–1033. doi: 10.1007/s00284-021-02345-8
Ricotta, C. (2017). Of beta diversity, variance, evenness, and dissimilarity. Ecol. Evol. 7, 4835–4843.
Soneson, C., Gerster, S., and Delorenzi, M. (2014). Batch effect confounding leads to strong bias in performance estimates obtained by cross-validation. PLoS ONE 9:e100335. doi: 10.1371/journal.pone.0100335
Song, J. S., Kim, J. O. R., Yoon, S. M., Kwon, M. J., and Ki, C. S. (2023). The association between gut microbiome and hypertension varies according to enterotypes: a Korean study. Front. Microb. 2:1072059. doi: 10.3389/frmbi.2023.1072059
Tran, H. T. N., Ang, K. S., Chevrier, M., Zhang, X., Lee, N. Y. S., Goh, M., et al. (2020). A benchmark of batch-effect correction methods for single -cell RNA sequencing data. Genome Biol. 21, 1–32. doi: 10.1186/s13059-019-1850-9
Tuddenham, S. A., Koay, W. L. A., Zhao, N., White, J. R., Ghanem, K. G., Sears, C. L., et al. (2020). The impact of human immunodeficiency virus infection on gut microbiota α-diversity: an individual-level meta-analysis. Clin. Infect. Dis. 70, 615–627.
Ursell, L. K., Metcalf, J. L., Parfrey, L. W., and Knight, R. (2012). Defining the human microbiome. Nutr. Rev. 70, S38–S44. doi: 10.1111/j.1753-4887.2012.00493.x
Van den Berg, R. A., Hoefsloot, H. C., Westerhuis, J. A., Smilde, A. K., and Van der Werf, M. J. (2006). Centering, scaling, and transformations: improving the biological information content of metabolomics data. BMC Genomics 7, 1–15. doi: 10.1186/1471-2164-7-142
Wang, Y., and LêCao, K. A. (2020). Managing batch effects in microbiome data. Brief. Bioinformat. 21, 1954–1970. doi: 10.1093/bib/bbz105
Yirga, A. A., Melesse, S. F., Mwambi, H. G., and Ayele, D. G. (2020). Negative binomial mixed models for analyzing longitudinal CD4 count data. Sci. Rep. 10:16742. doi: 10.1038/s41598-020-73883-7
Zhang, X., and Yi, N. (2020). NBZIMM: negative binomial and zero-inflated mixed models, with application to microbiome/metagenomics data analysis. BMC Bioinform. 21, 1–19. doi: 10.1186/s12859-020-03803-z
Zhang, X., Mallick, H., Tang, Z., Zhang, L., Cui, X., Benson, A. K., et al. (2017). Negative binomial mixed models for analyzing microbiome count data. BMC Bioinformat. 18, 1–10. doi: 10.1186/s12859-016-1441-7
Zhang, Y., D'Souza, G., Fakhry, C., Bigelow, E. O., Usyk, M., Burk, R. D., et al. (2022). Oral HPV associated with differences in oral microbiota beta diversity and microbiota abundance. J. Infect. Dis. 226, 1098–1108. doi: 10.1093/infdis/jiac010
Keywords: batch effect, composite quantile regression, microbiome, zero inflation, over-dispersion
Citation: Park J and Park T (2025) Composite quantile regression approach to batch effect correction in microbiome data. Front. Microbiol. 16:1484183. doi: 10.3389/fmicb.2025.1484183
Received: 21 August 2024; Accepted: 06 February 2025;
Published: 25 February 2025.
Edited by:
Hyun-Seob Song, University of Nebraska-Lincoln, United StatesReviewed by:
Na-Rae Lee, Konkuk University, Republic of KoreaCopyright © 2025 Park and Park. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Jiwon Park, aml3b25wQHNudS5hYy5rcg==; Taesung Park, dHNwYXJrQHN0YXRzLnNudS5hYy5rcg==
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
Research integrity at Frontiers
Learn more about the work of our research integrity team to safeguard the quality of each article we publish.