Layered chord diagrams for genomic data

A chord diagram links pairs of positions across a circle. A genomic chord diagram puts the chromosomes on that circle, so every chord joins two real regions — two breakpoints of a translocation, two copies of a gene family. Namaja adds the layers around it: ideogram, bars, heatmaps and labels on rings outside the chords, all on the same genome coordinates.

Circular plot of recurrent cancer translocations: breakpoints per band, ideogram and ribbons, made in Namaja
Translocations in cancer, made in Namaja

What makes it layered

Chords in the middle
Connections draw a thin curve between two positions; ribbons fill the band between two regions, and their width can follow a weight column such as patient count.
Chromosomes on the edge
A Reference ring or an Ideogram with stained bands, so each chord can be read as a band like 9q34 or 22q11.
Data rings around
Bars, heatmaps, scatter or copy number on their own rings, so you see how often a region breaks next to whom it links to.
One shared coordinate system
Every layer uses the same chromosome positions. Reorder the rings by dragging, and they all stay aligned.

How to build one

  1. 1A table of pairsOne row per link, with both ends side by side: chr1, start1, end1, chr2, start2, end2. Add a weight column if the links differ in strength, and a category column to colour them.
  2. 2Pick the genomeChoose an assembly from UCSC, such as human hg38, or paste your own chromosome sizes.
  3. 3Add the chordsAdd Ribbons for regions or Connections for single positions. Colour them by category and let the width follow the weight.
  4. 4Add the ringsAdd an Ideogram, then the data tracks you want outside the chords — for example the number of breakpoints per band as bars.

Questions

How is this different from an ordinary chord diagram?
An ordinary chord diagram links categories, and the size of each arc is a total. Here the circle is the genome, chords link exact positions, and other data sits on rings around them.
Can I make a chord diagram of non-genomic data?
Namaja is built for genomic tables today: chromosome, start and end columns are detected for you, and every chord joins two genome positions.
How many links should I show?
A figure reads best with a few dozen to a few hundred links. Filter your table to the strongest ones first, as the translocations example does with the 30 most frequent.

More guides

Try it with your data

Free, nothing to install. Your files are read in your browser.

Make a circular plot