Detecting Batch Heterogeneity via Likelihood Clustering
Austin Talbot, Yue Ke
TL;DR
Batch effects in CNV detection from NGS confound references, risking false CNV calls or missed pathogenic variants. The paper proposes clustering samples by Bayesian model evidence $\ell_i$ derived from two CNV generative models and uses a parametric bootstrap–based likelihood-ratio test to detect mixture structure in evidence space. It validates the approach with synthetic data and three clinical panels plus mouse electrophysiology, showing improved clustering accuracy over conventional correlation-based and dimensionality-reduction baselines while maintaining conservative false-positive control. This framework enables label-free, robust detection of batch heterogeneity, guiding process-matched sample selection and enhancing clinical reliability in CNV analysis.
Abstract
Batch effects represent a major confounder in genomic diagnostics. In copy number variant (CNV) detection from NGS, many algorithms compare read depth between test samples and a reference sample, assuming they are process-matched. When this assumption is violated, with causes ranging from reagent lot changes to multi-site processing, the reference becomes inappropriate, introducing false CNV calls or masking true pathogenic variants. Detecting such heterogeneity before downstream analysis is critical for reliable clinical interpretation. Existing batch effect detection methods either cluster samples based on raw features, risking conflation of biological signal with technical variation, or require known batch labels that are frequently unavailable. We introduce a method that addresses both limitations by clustering samples according to their Bayesian model evidence. The central insight is that evidence quantifies compatibility between data and model assumptions, technical artifacts violate assumptions and reduce evidence, whereas biological variation, including CNV status, is anticipated by the model and yields high evidence. This asymmetry provides a discriminative signal that separates batch effects from biology. We formalize heterogeneity detection as a likelihood ratio test for mixture structure in evidence space, using parametric bootstrap calibration to ensure conservative false positive rates. We validate our approach on synthetic data demonstrating proper Type I error control, three clinical targeted sequencing panels (liquid biopsy, BRCA, and thalassemia) exhibiting distinct batch effect mechanisms, and mouse electrophysiology recordings demonstrating cross-modality generalization. Our method achieves superior clustering accuracy compared to standard correlation-based and dimensionality-reduction approaches while maintaining the conservativeness required for clinical usage.
