SPRING: a kinetic interface for visualizing high dimensional single-cell expression data

Caleb Weinreb, Samuel L. Wolock, Allon M. Klein · DOI

TL;DR

SPRING is an interactive, web-based tool that uses force-directed k-nearest-neighbor (knn) graphs to visualize single-cell RNA sequencing data. Unlike popular methods like t-SNE, SPRING excels at capturing continuous biological processes—such as cell differentiation—while providing a reproducible, "kinetic" interface that allows researchers to physically interact with and explore their data.

What Problem Does This Paper Address?

Single-cell RNA sequencing (scSeq) has revolutionized biology by allowing researchers to see the expression of every gene in every cell of a tissue. However, the resulting data is massive and high-dimensional. To make sense of it, scientists usually try to do two things: group cells into discrete "clusters" (like cell types) and map out "trajectories" (how one cell type turns into another).

The current gold-standard tool, t-SNE, is excellent at finding clusters but often fails at the second task. It tends to "shatter" continuous biological processes into disconnected blobs, losing the global context of how those groups relate. Furthermore, t-SNE is stochastic—meaning if you run it twice on the same data, you might get two different-looking maps. This makes it difficult to compare results across different experiments or replicates.

Methods

The authors developed SPRING, a pipeline that transforms raw gene expression data into an interactive physics simulation. The process follows these steps:

  1. Preprocessing: Standard data cleaning, including filtering cells by read count and normalizing expression levels.
  2. Feature Selection: Identifying the most informative genes using mean expression and the "Fano factor" (a measure of variability).
  3. Dimensionality Reduction: Using Principal Component Analysis (PCA) to distill the data.
  4. Graph Construction: Building a k-nearest-neighbor (knn) graph. In this graph, every cell is a node, and edges are drawn between a cell and its $k$ most similar neighbors.
  5. Force-Directed Layout: This is the "kinetic" part. The graph is treated like a physical system where edges act like springs and nodes repel each other. The tool renders this as a real-time simulation in a web browser.

What makes SPRING unique is that it isn't a static image; users can click and drag groups of cells to see how the "springs" pull them back, helping to distinguish between true biological structures and artifacts of a 2D projection.

Datasets

The paper validates SPRING using two primary biological contexts:

  • Hematopoietic Progenitor Cells: Data from blood stem cells as they differentiate into seven distinct lineages (e.g., red blood cells, white blood cells).
  • Upper Airway Epithelium: Single-cell data from three different human donors, used specifically to test the reproducibility of the visualization across different biological replicates.

Key Insights and Ideas

  • Continuity over Clustering: By using a graph-based approach rather than a point-cloud approach, SPRING preserves the "connective tissue" of the data. This allows researchers to see branching trajectories that are often lost in other visualizations.
  • Reproducibility is Key: Because the graph construction in SPRING is non-stochastic (it doesn't rely on random initialization), it yields consistent results. This is a major advantage over t-SNE for researchers who need to compare multiple samples.
  • The Power of Interaction: The authors argue that "gestalt" exploration—manually untangling a graph—is a powerful way to uncover biological processes. Biologists can use their domain expertise to interact with the data without needing deep computational training.

Key Results

  • Mapping Lineages: When applied to hematopoietic cells, SPRING successfully visualized a single, branching tree showing how stem cells transition into seven different cell types. In contrast, t-SNE and traditional bi-clustering methods showed these as disconnected clusters, obscuring the developmental "pathway."
  • Consistency Across Samples: In the airway epithelium test, SPRING produced nearly identical layouts for three different human donors. This allowed researchers to "register" the plots against each other easily. t-SNE, however, produced highly variable results for each donor, making cross-sample comparison difficult.
  • Accessibility: The tool was implemented as a web-based interface, making high-powered graph visualization accessible via a standard browser.

Limitations and Future Work

While SPRING is a significant step forward for trajectory visualization, the paper notes a few areas for consideration:

  • Parameter Tuning: While many parameters can be adjusted via the web form, the quality of the graph still depends on the initial choice of $k$ (number of neighbors) and the genes selected for analysis.
  • Scalability: While not explicitly detailed as a failure point, force-directed layouts of very large graphs (hundreds of thousands of cells) can become computationally expensive to render in real-time within a browser.
  • Integration: The authors suggest that SPRING is a tool for "open-ended investigation," implying it is best used as a discovery tool alongside other quantitative methods rather than a standalone "answer" to a biological question.

Summary updated

BibTeX
@article{weinreb2018spring,
  author = {Caleb Weinreb and Samuel L. Wolock and Allon M. Klein},
  title = {{SPRING: a kinetic interface for visualizing high dimensional single-cell expression data}},
  journal = {Bioinformatics},
  year = {2018},
  doi = {10.1093/bioinformatics/btx792},
}
Figure