Related Experiment Video
Updated: Feb 25, 2026

Rare Event Detection Using Error-corrected DNA and RNA Sequencing
Published on: August 3, 2018
CompensAID: An Automated Detection Tool for Reference Errors
Rosan Olsman1, Sarah Bonte2,3, Mattias Hofmans4,5
1Laboratory Medical Immunology, Erasmus MC, University Medical Center Rotterdam, Rotterdam, the Netherlands.
None:
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.
Related Concept Videos
Detection of Gross Error: The Q Test
Types of Errors: Detection and Minimization
Absolute error in a measurement is the numerical difference from the true or central value. Relative error is the ratio between absolute error and the true or central value, expressed as a percentage.
Errors can be classified by source, magnitude, and sign. There are three types of errors: systematic, random, and gross.
Systematic or...
Systematic Error: Methodological and Sampling Errors
Sampling errors originate from improper sampling methods or the wrong sample population. These errors can be minimized by refining the sampling strategy. Defective instruments or faulty calibrations are the sources of instrumental...
Accuracy and Errors in Hypothesis Testing
In hypothesis testing, the probability of making a Type I error, denoted as α, is commonly set at 0.05. This significance level indicates a 5%...
Accuracy, limits, and approximation
Accuracy is defined as the closeness of the measured value to the true or actual value. In engineering mechanics, repeated measurements are taken during theoretical or experimental analyses to ensure that the result is precise and accurate.
The accuracy of any solution is based on the...
Improving Translational Accuracy

