scBubbletree: quantitative visualization of single cell RNA-seq data

Simo Kitanovski, Yingying Cao, Dimitris Ttoouli, Farnoush Farahpour, Jun Wang, Daniel HoffmannbioRxiv 2023 · DOI

TL;DR

This paper introduces scBubbletree, a novel R package for visualizing single-cell RNA sequencing (scRNA-seq) data. It addresses the common problem of overplotting and lack of quantitative information in existing visualization methods by representing cell clusters as "bubbles" on a dendrogram, offering a scalable and interpretable way to explore complex biological relationships.

What Problem Does This Paper Address?

Single-cell RNA sequencing (scRNA-seq) generates massive amounts of high-dimensional data, where each cell is characterized by the expression levels of thousands of genes. Visualizing this data is crucial for understanding cell relationships and biological insights. However, traditional methods like UMAP and t-SNE, which reduce data to 2D scatterplots, often suffer from "overplotting" (too many points overlapping), making it difficult to discern patterns, especially in large datasets. Furthermore, these methods can distort the true relationships between cells and often lack quantitative summaries of clusters, hindering in-depth biological interpretation.

Methods

scBubbletree tackles these issues by employing a hierarchical clustering approach. The core method involves:

  1. Determining Clustering Resolution: It uses statistical methods like the gap statistic and Gini impurity to objectively determine the optimal number of clusters (k) or resolution parameter (r) for the data, guiding the user towards biologically meaningful groupings.
  2. Clustering: It supports various clustering algorithms, including Louvain and k-means, to group cells with similar transcriptional profiles.
  3. Hierarchical Grouping: scBubbletree constructs a dendrogram (a tree-like structure) that represents the hierarchical relationships between these cell clusters. This is achieved through agglomerative hierarchical clustering, where clusters are progressively merged based on their similarity. To ensure robustness, it employs a bootstrapping approach.
  4. Visualization: The final output is a "bubbletree." Each leaf node of the dendrogram is a "bubble" representing a cell cluster. The size of each bubble is scaled linearly with the number of cells in that cluster, making larger clusters visually prominent. The tree structure itself quantifies the distances and relationships between clusters. Additionally, scBubbletree allows for the integration of various cell attributes (e.g., marker gene expression, cell type labels) as supplementary visualizations (heatmaps, violin plots) stacked alongside the bubbletree, providing a rich, multi-layered view of the data.

Datasets

The authors evaluated scBubbletree using two publicly available scRNA-seq datasets:

  • Dataset A: 3,918 cell transcriptomes from five human lung adenocarcinoma cell lines. This dataset was used to demonstrate the recovery of known cell line identities.
  • Dataset B: 161,764 peripheral blood mononuclear cells (PBMCs) from eight healthy volunteers. This larger dataset was used to showcase the scalability and ability to resolve complex immune cell subtypes.

Key Insights and Ideas

  • Quantitative Visualization: Unlike many existing methods that provide qualitative visual summaries, scBubbletree offers quantitative measures of cluster relationships and sizes directly within the visualization.
  • Scalability through Abstraction: By summarizing clusters into bubbles rather than visualizing individual cells, scBubbletree effectively overcomes the overplotting problem, making it suitable for very large datasets.
  • Integrated Biological Context: The ability to seamlessly stack cell attribute visualizations (like marker gene expression) with the bubbletree provides a powerful way to connect molecular data with biological interpretations.
  • Robustness Assessment: The use of bootstrap dendrograms to assess branch support allows users to gauge the reliability of the inferred hierarchical relationships.

Key Results

  • scBubbletree successfully identified the five distinct cell lines in Dataset A, with bubble sizes reflecting the cell line proportions.
  • In Dataset B, scBubbletree resolved complex PBMC subtypes, with distinct clades in the bubbletree corresponding to major immune cell populations (lymphocytes and monocytes).
  • The method demonstrated superior visualization clarity and scalability compared to UMAP and t-SNE, especially for large datasets, by avoiding overplotting and providing a clearer representation of cluster structure.
  • The quantitative nature of the bubbletree distances was shown to be consistent with distances in PCA space, suggesting better preservation of global data structure.

Limitations and Future Work

  • Clustering Resolution Choice: While scBubbletree provides tools to aid in selecting clustering resolution, it still requires some user familiarity with clustering concepts, preventing a purely "black-box" application.
  • Computational Cost: Determining the optimal clustering resolution can be computationally intensive and memory-demanding for very large datasets due to repetitive clustering simulations.
  • Visualization Repertoire: The current version focuses on essential cell attribute visualizations. Future developments are planned to enrich its visualization capabilities, especially for multi-omics data.

The authors suggest that future work will focus on optimizing computational performance and expanding the visualization options to accommodate emerging single-cell multi-omics technologies.

Summary updated

Abstract

Motivation: Visualization approaches transform high-dimensional data from single cell RNA sequencing (scRNA-seq) experiments into two-dimensional plots that are used for analysis of cell relationships, and as a means of reporting biological insights. Yet, many standard approaches generate visuals that suffer from overplotting, lack of quantitative information, and distort global and local properties of biological patterns relative to the original high-dimensional space. Results: We present scBubbletree, a new, scalable method for visualization of scRNA-seq data. The method identifies clusters of cells of similar transcriptomes and visualizes such clusters as "bubbles" at the tips of dendrograms (bubble trees), corresponding to quantitative summaries of cluster properties and relationships. scBubbletree stacks bubble trees with further cluster-associated information in a visually easily accessible way, thus facilitating quantitative assessment and biological interpretation of scRNA-seq data. Availability and Implementation: the R package scBubbletree is freely available at: https://bioconductor.org/packages/scBubbletree/ Contact: [email protected], [email protected]
BibTeX
@misc{kitanovski2023scbubbletree,
  author = {Simo Kitanovski and Yingying Cao and Dimitris Ttoouli and Farnoush Farahpour and Jun Wang and Daniel Hoffmann},
  title = {{scBubbletree: quantitative visualization of single cell RNA-seq data}},
  year = {2023},
  doi = {10.1101/2023.03.09.531263},
  howpublished = {bioRxiv},
}
Figure