Epiviz Web Components: reusable and extensible component library to visualize functional genomic datasets

Jayaram Kancherla, Alexander Zhang, Brian Gottfried, Héctor Corrada BravoF1000research 2018

TL;DR

This paper introduces Epiviz Web Components, a novel library for building interactive genomic data visualizations using modern web technologies. It addresses the challenge of creating flexible and reusable visualization tools for complex genomic data, enabling researchers to build custom applications and integrate them with existing bioinformatics workflows.

What Problem Does This Paper Address?

Genomic data is vast and complex, requiring sophisticated tools for exploration and analysis. While existing web-based genome browsers are useful, they are often built for specific use cases and datasets, making integration and extensibility difficult. This creates a need for a more flexible and modular approach to genomic data visualization that can be easily adapted and integrated into various bioinformatics research and application development pipelines. The authors aim to bridge this gap by providing a reusable and extensible component library that leverages modern web standards.

Methods

The core of this work is the Epiviz Component Library, built using Web Components. This technology allows developers to create custom HTML elements that are reusable, extensible, and work across modern web browsers. The library is organized into three main categories:

  • Visualization Components (epiviz-charts): These are D3.js-based chart components designed for genomic data, offering interactive and customizable visualizations like gene tracks, line tracks, scatter plots, and heatmaps.
  • App Components (epiviz-environment, epiviz-navigation): These components manage the layout of multiple visualizations, coordinate interactions (like brushing and linking data across charts), and handle genomic coordinate navigation.
  • Datasource Components (epiviz-data-source): These manage data requests to web servers or WebSocket connections.

The library also includes a Python Flask-based data provider for querying MySQL databases and an R/Bioconductor package (epivizrChart) that allows programmatic creation and visualization of genomic data objects within R and Shiny applications, as well as standalone HTML documents.

Datasets

The paper uses data from the NIH Roadmap Epigenomics Project for its use case demonstrations. This data includes DNA methylation, RNA-seq, and histone modification data for various human tissue types. The data files are sourced from Bioconductor's AnnotationHub repository and imported into a MySQL database.

Key Insights and Ideas

  • Web Components as a Game Changer for Bioinformatics Visualization: The paper highlights how Web Components offer a standardized, modular, and reusable approach to building complex web applications, which is particularly beneficial for the rapidly evolving field of bioinformatics.
  • Bridging the Gap Between Web Technologies and Bioinformatics: By leveraging modern web standards, Epiviz components can be integrated with virtually any JavaScript library or framework, making genomic data visualization more accessible to a wider range of developers.
  • R/Bioconductor Integration for Seamless Workflow: The development of the epivizrChart package significantly lowers the barrier to entry for R users, allowing them to leverage the power of Epiviz components directly within their familiar R and Shiny environments.
  • Performance Benefits of Data Summarization: The benchmarks demonstrate that summarizing genomic data on the backend can significantly reduce chart rendering times, especially for large genomic regions, without a substantial increase in data request times.

Key Results

  • The Epiviz Component Library provides a reusable and extensible framework for building interactive genomic data visualizations.
  • The library has been successfully integrated into an R/Bioconductor package (epivizrChart), enabling interactive visualization of genomic data objects within R and Shiny applications.
  • Benchmarks show that data summarization can dramatically improve chart draw times by reducing the number of overlapping data points. For example, for 100M genomic range, draw time was significantly reduced with summarization.
  • The epivizrChart package allows for the creation of interactive, shareable, and reproducible visualization documents in standalone HTML or RMarkdown formats.

Limitations and Future Work

  • Modularity vs. Generality: One reviewer noted that while the library is presented as general-purpose, its primary use case and dependencies (like Bioconductor) are more specific than initially implied, potentially obscuring its current practical applications.
  • User Interface Clarity: Some reviewers found the dashboards and interactive figures to be "spartan" and "cryptic," suggesting a need for clearer explanations and more intuitive user interfaces, especially for non-developer end-users.
  • Data Import Tools: The paper mentions custom JSON formats but lacks tools for importing common file formats (like FASTA, GFF), which could limit broader adoption.
  • Future Work: The authors plan to implement a visualization grammar similar to ggvis as attributes/properties, extend visualizations to support more genomic data types (e.g., from Metaviz), and implement canvas-based rendering for improved performance with large datasets. They also suggest improving the biological context and providing more extensive tutorial text for users.

Summary updated

BibTeX
@article{kancherla2018epiviz,
  author = {Jayaram Kancherla and Alexander Zhang and Brian Gottfried and Héctor Corrada Bravo},
  title = {{Epiviz Web Components: reusable and extensible component library to visualize functional genomic datasets}},
  journal = {F1000research},
  year = {2018},
  doi = {10.12688/f1000research.15433.1},
}
Figure