Rosan Olsman, Sarah Bonte, Mattias Hofmans, Malicorne Buysse, Katrien Van der Borght, Yvan Saeys, Vincent H. J. van der Velden, Sofie Van Gassen
{"title":"CompensAID: An Automated Detection Tool for Reference Errors","authors":"Rosan Olsman, Sarah Bonte, Mattias Hofmans, Malicorne Buysse, Katrien Van der Borght, Yvan Saeys, Vincent H. J. van der Velden, Sofie Van Gassen","doi":"10.1002/cyto.a.70016","DOIUrl":null,"url":null,"abstract":"<p>In flow cytometry, raw detector values do not directly represent fluorochrome abundances and must be mathematically unmixed using coefficients derived from single-stained reference controls. Inaccuracies in these controls, referred to as reference errors, can distort the estimated fluorochrome abundances, leading to skewed population distributions. However, as panel complexity and dataset sizes increase, manually inspecting all marker combinations for such artifacts becomes impractical. To address this challenge, we developed CompensAID, an open-source R-based tool that automatically flags marker combinations potentially affected by reference errors, thereby supporting quality control workflows in flow cytometry. Preprocessed data from both conventional and spectral flow cytometry were used to develop and validate the tool. CompensAID applies a density-based cutoff detection to automatically gate the negative and positive populations. The positive population is then divided into equally sized segments, after which the Secondary Stain Index (SSI) is computed for each segment. Marker combinations are flagged if the last segment yields an SSI value below −1. The tool's performance was evaluated against the consensus of five flow cytometry specialists. For the conventional dataset, 1761 out of 2240 marker combinations (79%) were unanimously classified as free of reference errors, while 24 marker combinations received a consensus score of three or higher, indicating that most flow cytometry specialists suspected reference errors. CompensAID successfully identified 23 out of these 24 marker combinations, achieving a sensitivity of 0.96. The single missed case involved a spillover spread error. In the spectral dataset, 1505 out of 1656 marker combinations (90%) were deemed free of reference errors. Of the 28 marker combinations suspected of reference errors, CompensAID flagged 21 marker combinations (sensitivity, 0.74). Five out of the seven missed marker combinations had SSI values close to the threshold. In both datasets, false positive findings were observed, often attributable to suboptimal gating or low event counts within the segments contributing to negative SSI values. CompensAID offers a robust approach for detecting marker combinations exhibiting signs of reference errors. While some false positives occur, the tool significantly reduces the burden of manual inspection. Its integration into quality control pipelines can enhance the reliability of flow cytometry data analysis. The R package is available at https://github.com/Olsman/CompensAID and will be made available through the Bioconductor platform.</p>","PeriodicalId":11068,"journal":{"name":"Cytometry Part A","volume":"109 2","pages":"124-134"},"PeriodicalIF":2.9000,"publicationDate":"2026-03-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/cyto.a.70016","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Cytometry Part A","FirstCategoryId":"99","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cyto.a.70016","RegionNum":4,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/23 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"BIOCHEMICAL RESEARCH METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
In flow cytometry, raw detector values do not directly represent fluorochrome abundances and must be mathematically unmixed using coefficients derived from single-stained reference controls. Inaccuracies in these controls, referred to as reference errors, can distort the estimated fluorochrome abundances, leading to skewed population distributions. However, as panel complexity and dataset sizes increase, manually inspecting all marker combinations for such artifacts becomes impractical. To address this challenge, we developed CompensAID, an open-source R-based tool that automatically flags marker combinations potentially affected by reference errors, thereby supporting quality control workflows in flow cytometry. Preprocessed data from both conventional and spectral flow cytometry were used to develop and validate the tool. CompensAID applies a density-based cutoff detection to automatically gate the negative and positive populations. The positive population is then divided into equally sized segments, after which the Secondary Stain Index (SSI) is computed for each segment. Marker combinations are flagged if the last segment yields an SSI value below −1. The tool's performance was evaluated against the consensus of five flow cytometry specialists. For the conventional dataset, 1761 out of 2240 marker combinations (79%) were unanimously classified as free of reference errors, while 24 marker combinations received a consensus score of three or higher, indicating that most flow cytometry specialists suspected reference errors. CompensAID successfully identified 23 out of these 24 marker combinations, achieving a sensitivity of 0.96. The single missed case involved a spillover spread error. In the spectral dataset, 1505 out of 1656 marker combinations (90%) were deemed free of reference errors. Of the 28 marker combinations suspected of reference errors, CompensAID flagged 21 marker combinations (sensitivity, 0.74). Five out of the seven missed marker combinations had SSI values close to the threshold. In both datasets, false positive findings were observed, often attributable to suboptimal gating or low event counts within the segments contributing to negative SSI values. CompensAID offers a robust approach for detecting marker combinations exhibiting signs of reference errors. While some false positives occur, the tool significantly reduces the burden of manual inspection. Its integration into quality control pipelines can enhance the reliability of flow cytometry data analysis. The R package is available at https://github.com/Olsman/CompensAID and will be made available through the Bioconductor platform.
期刊介绍:
Cytometry Part A, the journal of quantitative single-cell analysis, features original research reports and reviews of innovative scientific studies employing quantitative single-cell measurement, separation, manipulation, and modeling techniques, as well as original articles on mechanisms of molecular and cellular functions obtained by cytometry techniques.
The journal welcomes submissions from multiple research fields that fully embrace the study of the cytome:
Biomedical Instrumentation Engineering
Biophotonics
Bioinformatics
Cell Biology
Computational Biology
Data Science
Immunology
Parasitology
Microbiology
Neuroscience
Cancer
Stem Cells
Tissue Regeneration.