GenomeSpy builds upon the concepts originally introduced in
The Grammar of Graphics and later
implemented in ggplot2 and Vega-Lite.
The building blocks that GenomeSpy provides enable users to create tailored, interactive genomic
visualizations that can be embedded in web pages or integrated into JavaScript applications.
The carefully crafted GPU-accelerated WebGL rendering engine ensures smoothly animated interactions
and a pleasant user experience for end-users. Scroll down for live examples.
GenomeSpy was originally developed to support the exploration and analysis of large sample collections
in cancer genomics research. It has since been used in several publications, some of which
are listed in the Publications section below.
Abstract example: Using rect and text marks to specify a labeled bar chart.
Abstract example: Using rect and text marks to make a labeled heatmap.
The labels are automatically scaled to fit the cells. Try to zoom in and out!
A scatter plot with one and a half million points decorated with some
annotations visualizes a miserably failed t-SNE attempt.
A Manhattan plot for Genome-Wide Association Study (GWAS).
Multiple sequence alignment. Loads data from a fasta file and
displays it as a scrollable heatmap and a sequence logo.
A structural variation visualization that uses the link mark to show
pretty arcs connecting the breakpoints. There's also some segmented copy-number data.
GC content of the human genome: One dataset, two visual representations. The data
are loaded lazily from a BigWig file and the scale domains are autoscaled
to accommodate the region.
Using lazy data loading, data transformations, and multiple layers
to visualize the GENCODE gene annotation stored in a hierarchical
GFF3 file.
An Observable notebook describing how to replicate ASCAT's copy-number segmentation
visualization. The visualization is interactive and thoroughly commented.
Exploring a sample collection with the GenomeSpy App. The visualization shows
several cell-line samples with segmented copy numbers, loss of heterozygosity, and SNPs and INDELs.
GenomeSpy in action: Lahtinen, A., Lavikka, K., et al. (2023) Evolutionary states
and trajectories characterized by distinct pathways stratify patients
with ovarian high grade serous carcinoma.
SegmentModel Spy. Visualize GATK's copy-number segment models together
with read and allelic counts. An example of using GenomeSpy as a visualization
library in a special-purpose web application.