Abstract
New single-cell technologies continue to fuel the explosive growth in the scale of heterogeneous single-cell data. However, existing computational methods are inadequately scalable to large datasets and therefore cannot uncover complex cellular heterogeneity. We introduce PARC (Phenotyping by Accelerated Refined Community-partitioning), a highly scalable graph-based clustering algorithm for ultra-large-scale, high-dimensional single-cell data (>1 million cells). PARC consistently outperforms state-of-the-art algorithms like Phenograph, FlowSOM, and Flock in terms of both speed and the ability to robustly detect rare cell populations. For example, PARC can cluster 1.1 million cells within 13 minutes, compared to over 2 hours for the next fastest graph-clustering algorithm.
Introduction
The transition from analyzing hundreds of cells to millions has created a "scalability gap." To manage these massive datasets, researchers often resort to subsampling, which risks deleting rare cell populations (e.g., those making up only 0.05% of a sample). Furthermore, many algorithms struggle with the "resolution limit," where small, distinct biological clusters are erroneously merged into larger ones. PARC was developed to address these challenges by providing a fast, data-driven approach that maintains high sensitivity without requiring downsampling.
Methods
PARC utilizes a three-pillar approach to achieve its performance:
- HNSW (Hierarchical Navigable Small World): PARC employs HNSW for approximate k-nearest neighbor (k-NN) graph construction, allowing the graph-building phase to scale logarithmically rather than quadratically.
- Two-Step Data-Driven Pruning: This critical step involves local pruning (based on Minkowski distance) and global pruning (removing edges below the median Jaccard similarity). As shown in Figure 1b, the Jaccard coefficients exhibit a long tail; pruning these weak edges removes noise and clarifies the biological signal of rare populations.
- Leiden Algorithm: PARC uses the Leiden community detection algorithm, which is faster and more robust than the Louvain method, helping to avoid the resolution limit.
Results and Performance
PARC was validated across multiple high-dimensional modalities, including Mass Cytometry (CyTOF), scRNA-seq, and Imaging Flow Cytometry.
Speed and Scalability
In a dataset of 1.1 million lung cancer cells, PARC completed clustering in just 13 minutes. This represents a roughly 10-fold speed increase over Phenograph. Notably, PARC maintains nearly linear scaling even as dimensionality increases beyond 500 principal components.
Sensitivity and Accuracy
PARC excels at identifying rare populations. In the Mosmann_rare benchmark, it successfully identified an activated memory CD4 T-cell population representing only 0.03% of total cells—a population missed by most other tools. On the 1.1 million cell imaging dataset, PARC achieved a 98.8% F1-score, accurately separating cancer subtypes based on biophysical features. Figure 1c highlights how PARC consistently matches or exceeds the F1-scores of competing methods across various datasets (Levine, Samusik, PBMC, etc.).
Discussion
While PARC provides a powerful engine for clustering, it is intended to be part of a broader analytical pipeline. Future enhancements could include integration with batch correction methods (like MNN) and advanced visualization tools (like UMAP or flt-SNE) to facilitate the exploration of multi-million cell datasets. PARC offers a scalable, open-source solution to meet the demands of modern single-cell analysis.
Availability: The implementation is available at https://github.com/ShobiStassen/PARC.
Summary updated