E-scape: Interactive visualization of single cell phylogenetics and spatio-temporal evolution in cancer

Maia A. Smith, Cydney Nielsen, Fong Chun Chan, Andrew McPherson, Andrew Roth, Hossein Farahani, Daniel Machev, Adi Steif, Sohrab P. ShahbioRxiv 2016

TL;DR

E-scape is an open-source, web-based visualization suite designed to help researchers explore the complex "family trees" of cancer cells as they evolve across time and space. By integrating single-cell and bulk sequencing data into three interactive tools—TimeScape, MapScape, and CellScape—it allows scientists to move beyond static plots and intuitively navigate the dynamics of tumor progression and treatment resistance.

What Problem Does This Paper Address?

Cancer is not a monolithic mass of identical cells; it is a dynamic, evolving ecosystem. As a tumor grows, it develops distinct "clones"—subpopulations of cells with different genetic mutations. Understanding how these clones emerge, compete, and spread is critical for predicting treatment failure or metastasis.

While DNA sequencing has made it possible to infer these "clonal dynamics," the resulting datasets are massive and multi-dimensional, involving phylogenetic trees, mutation tables, and anatomical locations. Historically, researchers have relied on static figures to represent this data. The gap addressed here is the lack of interactivity. Without the ability to "tinker" with the data—for example, clicking a branch on an evolutionary tree to see where those cells are located in the body—biomedical experts struggle to apply their domain knowledge to the computational models.

Methods

The authors developed E-scape, a suite of three specialized tools built using a combination of R (for data handling) and JavaScript/d3.js (for high-performance web visualization). The tools are integrated via the htmlwidgets framework, allowing users to launch interactive dashboards directly from an R environment.

The suite consists of:

  • CellScape: Visualizes single-cell evolution by vertically aligning a phylogenetic tree with a genomic heatmap. It allows users to see exactly which mutations or copy-number alterations (CNAs) define specific branches of the cell's lineage.
  • TimeScape: Focuses on temporal dynamics. It uses smooth Bezier curves to show how the prevalence of different clones shifts over time (e.g., from diagnosis to relapse), supporting both "nested" views to show hierarchy and "spaced" views to track individual trajectories.
  • MapScape: Visualizes spatial distribution. It uses an anatomical reference image surrounded by "cellular aggregates"—representations of tumor samples created via Voronoi tessellation. This allows researchers to see how clones migrate between different organs or metastatic sites.

Datasets

The authors demonstrated E-scape using several high-profile cancer datasets:

  • Triple-negative breast cancer: Single-cell data from Wang et al. (2014).
  • Breast cancer xenografts: Longitudinal single-cell data from Eirew et al. (2015).
  • Follicular lymphoma: A 15-patient cohort study by Kridel et al. (2016) tracking histological transformation.
  • Metastatic prostate and ovarian cancers: Spatial datasets from Gundem et al. (2015) and McPherson et al. (2016) used to track "polyclonal seeding" across the body.

Key Insights and Ideas

  • Brushing and Linking: The "aha moment" of E-scape is the dynamic connection between views. Selecting a mutation in a table instantly highlights the clones that carry it in the phylogeny and shows their prevalence across different anatomical sites.
  • Visualizing the "Selective Sweep": Using TimeScape, the authors clearly illustrate how a rare clone at the start of a study can undergo a "selective sweep" to become the dominant population after treatment, a process that is much harder to grasp in a standard spreadsheet.
  • Anatomical Origin Tracing: MapScape allows researchers to infer the "source" of a metastasis. For instance, in one ovarian cancer patient, the tool helped visualize how the tumor likely spread from the left ovary to the right, and then "re-seeded" the original site with a more evolved descendant.
  • Handling Noise: The authors included a "tree trimming" tool in CellScape to interactively remove branches caused by sequencing noise, allowing experts to clean their data on the fly.

Key Results

  • Performance: The tools are highly efficient. Even with a large dataset of 371 single cells and over 37,000 copy-number segments, the system processed the data in ~5.4 seconds and loaded in a browser in under 5 seconds.
  • Accessibility: By providing an R-based interface for complex D3.js visualizations, the authors have made sophisticated visual analytics accessible to bioinformaticians who may not be expert web developers.
  • Discovery: The tool successfully replicated and enhanced the findings of several major studies, such as identifying the dramatic clonal shifts that occur during the transformation of follicular lymphoma.

Limitations and Future Work

The current version of E-scape is limited by the memory constraints of the web browser. As experimental output grows to millions of single cells, the authors acknowledge the need for a backend indexing platform to allow for millisecond response times via dynamic queries.

Future iterations aim to integrate:

  • Whole-genome browsers: To provide more granular views of specific mutation breakpoints.
  • Data quality metrics: To visually separate biological signals from technical noise.
  • New data types: Support for single-cell RNA-seq (expression data) and in situ PCR data to provide a more holistic view of the tumor microenvironment.

Summary updated

BibTeX
@misc{smith2016e,
  author = {Maia A. Smith and Cydney Nielsen and Fong Chun Chan and Andrew McPherson and Andrew Roth and Hossein Farahani and Daniel Machev and Adi Steif and Sohrab P. Shah},
  title = {{E-scape: Interactive visualization of single cell phylogenetics and spatio-temporal evolution in cancer}},
  year = {2016},
  doi = {10.1101/080622},
  howpublished = {bioRxiv},
}
Figure