A knockoff calibration method to avoid over-clustering in single-cell RNA-sequencing

Alan DenAdel, Michelle L. Ramseier, Andrew W. Navia, Alex K. Shalek, Srivatsan Raghavan, Peter Winter, Ava P. Amini, Lorin CrawfordbioRxiv 2024

TL;DR

This paper introduces "callback," a novel method to prevent over-clustering in single-cell RNA sequencing (scRNA-seq) data. By using synthetic "knockoff" genes, callback calibrates clustering results to avoid inflated false discovery rates in downstream analyses, achieving state-of-the-art performance and remarkable computational efficiency.

What Problem Does This Paper Address?

Single-cell RNA sequencing (scRNA-seq) generates vast amounts of data, allowing researchers to identify distinct cell types. A common approach is to first cluster cells based on their gene expression profiles and then perform differential gene expression analysis to find "marker genes" that characterize these clusters. However, a significant pitfall arises when the same data is used for both clustering and differential expression analysis, a phenomenon known as "double-dipping" or "circular analysis." This reuse of data can lead to inflated p-values, making it difficult to distinguish true biological differences from statistical artifacts, and ultimately increasing the number of false discoveries. Existing methods for addressing this issue often focus on statistical calibration but don't directly guide the clustering process itself. This paper aims to bridge this gap by providing a method that not only calibrates the statistical significance but also actively helps in determining the appropriate number of clusters, thereby preventing over-clustering.

Methods

The core of the "callback" method lies in its innovative use of synthetic "knockoff" genes. Here's a breakdown of the approach:

  1. Knockoff Gene Generation: For each real gene in the scRNA-seq data, synthetic "knockoff" genes are generated. These knockoffs are designed to mimic the statistical properties of the real genes (e.g., distribution of expression levels) but are explicitly constructed to have no biological association with any cell type. This is achieved using a zero-inflated Poisson (ZIP) model, which accounts for the high proportion of zero counts often observed in scRNA-seq data.
  2. Augmented Data Processing: The real gene expression matrix is augmented with these knockoff genes, creating a larger dataset. This augmented dataset then undergoes standard scRNA-seq preprocessing steps, such as normalization and principal component analysis (PCA).
  3. Clustering on Augmented Data: A chosen clustering algorithm (e.g., Louvain) is applied to the PCA-embedded augmented data. This ensures that both real and knockoff genes are subjected to the same clustering process.
  4. Differential Expression and Calibration: Differential gene expression analysis is performed between pairs of inferred clusters using both the real and knockoff genes. By comparing the statistical significance (p-values) of these analyses, a "knockoff test statistic" is computed. This statistic helps to identify genes that show truly significant differences between clusters, as opposed to those that appear significant due to the double-dipping effect.
  5. Iterative Refinement: A data-dependent threshold is used to assess whether the current number of clusters is statistically supported. If evidence of over-clustering is detected (i.e., too many spurious differences), the algorithm iteratively re-clusters the data with a reduced number of clusters until a statistically appropriate number is found.

Datasets

The paper utilizes several datasets for evaluation:

  • Simulated Datasets: Used to demonstrate the method's ability to correctly identify the number of true cell types in scenarios with one or three distinct groups.
  • Tabula Muris Dataset: A comprehensive dataset comprising 20 different tissues from mice, with manually curated cell type annotations. This dataset was used to compare the performance of callback against other methods across a wide range of biological contexts.
  • PBMC 3K, Bone Marrow 30K, and Bone Marrow 40K Datasets: These datasets were used to assess the computational scalability (runtime and memory usage) of callback.
  • PBMC 68K Dataset: A large dataset of peripheral blood mononuclear cells used for scalability testing.
  • Liver 8K Dataset: Another dataset used for scalability evaluation.

The paper does not introduce a new benchmark dataset but rather uses existing, well-characterized datasets for rigorous evaluation.

Key Insights and Ideas

  • The "Double-Dipping" Problem is Pervasive: The paper clearly illustrates how standard scRNA-seq pipelines can lead to inflated p-values due to reusing data for clustering and differential expression, making it hard to trust downstream findings.
  • Knockoff Genes as a Powerful Control: The ingenious use of synthetic knockoff genes provides a statistically sound way to estimate the null distribution and correct for the inflation caused by data reuse.
  • Calibrating Clustering, Not Just P-values: Unlike some previous methods that only calibrate p-values, callback actively guides the clustering process itself, helping to determine the optimal number of clusters.
  • Universality of the Approach: Callback can be seamlessly integrated with various clustering algorithms, making it a flexible tool for the scRNA-seq analysis toolkit.
  • Computational Efficiency is Key: The method is not only statistically robust but also remarkably fast and memory-efficient, making it suitable for analyzing massive scRNA-seq datasets on standard hardware.

Key Results

  • State-of-the-Art Clustering Performance: Callback consistently outperformed or matched existing methods (sc-SHC and CHOIR) across multiple quality metrics (ARI, V-measure, completeness, homogeneity, Jaccard index, FMI) on the Tabula Muris dataset.
  • Improved Hypothesis Generation: In the limb muscle tissue example, callback's more accurate clustering led to cleaner separation of marker gene expression, enabling more reliable identification of cell types and their specific markers.
  • Significant Speedup: Callback demonstrated superior computational efficiency, being significantly faster and using less memory than CHOIR, and comparable or faster than sc-SHC, especially on large datasets. For instance, it could analyze nearly 70K cells in under 15 minutes on a personal laptop.
  • Accurate Cluster Number Determination: In simulated data, callback correctly identified the true number of cell populations, whereas default methods often over-clustered.

Limitations and Future Work

  • Starting Upper Bound Sensitivity: Callback works by iteratively reducing the number of clusters from an initial upper bound. If this bound is set too low, the algorithm might not explore the full range of potential clusterings, potentially leading to under-clustering. The authors suggest re-running with a larger initial parameter.
  • Metadata and Batch Effects: The current implementation does not explicitly account for batch effects or other confounding metadata. The authors suggest that future work could incorporate data integration methods (e.g., Harmony) before applying callback to address these issues.
  • Continuous Cell States: The paper acknowledges that some biological systems might exhibit continuous cell states rather than discrete clusters, for which callback (or any clustering algorithm) might not be perfectly suited.

The authors envision callback as a valuable tool for assigning labels to unknown cell types, saving researchers significant time and effort in manual investigation and re-clustering.

Summary updated

Abstract

Abstract Standard single-cell RNA-sequencing (scRNA-seq) pipelines nearly always include unsupervised clustering as a key step in identifying biologically distinct cell types. A follow-up step in these pipelines is to test for differential expression between the identified clusters. When algorithms over-cluster, downstream analyses will produce inflated P -values resulting in increased false discoveries. In this work, we present callback ( Cal i b r a ted C lustering via K nockoffs): a new method for protecting against over-clustering by controlling for the impact of reusing the same data twice when performing differential expression analysis, commonly known as “double-dipping”. Importantly, our approach can be applied to a wide range of clustering algorithms. Using real and simulated data, we show that callback provides state-of-the-art clustering performance and can rapidly analyze large-scale scRNA-seq studies, even on a personal laptop.
BibTeX
@misc{denadel2024knockoff,
  author = {Alan DenAdel and Michelle L. Ramseier and Andrew W. Navia and Alex K. Shalek and Srivatsan Raghavan and Peter Winter and Ava P. Amini and Lorin Crawford},
  title = {{A knockoff calibration method to avoid over-clustering in single-cell RNA-sequencing}},
  year = {2024},
  doi = {10.1101/2024.03.08.584180},
  howpublished = {bioRxiv},
}
Figure