Track Types

Linking value scales

The scaling of values in quantitative tracks is done from lowest to highest values. Two tracks displaying different data will likely have different axis scales based on the extent of the data visible in each. To enable comparison between the two tracks, HiGlass supports locking value scales such that they both display the same axes. This can be done using the track configuration menu:

_images/lock-value-scales.png

Bed-like

_images/bedlike-track-thumb.png

track-type: bedlike datatype: bedlike

The bedlike track is intended to display generic interval data. It is used to render tracks with a bedlike datatype. This usually comes from the beddb filetype. Regular bed-like files can be converted to beddb using the instructions in the data preparation section.

Gene Annotations

_images/gene-annotations-track-thumb.png

track-type: horizontal-gene-annotations datatype: gene-annotations

Gene annotations display the locations of genes and their exons and introns. The tracks displayed on HiGlass show a transcript consisting of the union of all annotated exons in refseq. There are separate tracks for the different available species. Details on how gene annotation tracks are created is available in the gene annotations section.

Heatmap

_images/heatmap-track-thumb.png

track-type: heatmap datatype: matrix

Heatmaps in HiGlass are usually used to display HiC data. They log-scale input values and map them to a user-selectable color scale (color map configuration option). Because HiGlass displays data at varying zoom levels, heatmaps are displayed at different resolutions depending on the current zoom level. To limit the resolution of the displayed data, users can set the Zoom Limit configuration option.

1D Heatmap

_images/horizontal-heatmap-thumb.png

track-type: horizontal-heatmap datatype: matrix

1D heatmaps are regulat 2D heatmaps sliced across the diagonal and rotated 45 degrees. The base of the 1D heatmap is always the diagonal of the 2D heatmap. This is useful for displaying data, such as HiC, which has prominent features along the diagonal.

2D Rectangle Domain

_images/2d-rectangles-track-thumb.png

track-type: 2d-rectangle-domains

The rectangle domains track shows rectangular regions on the heatmap. These are commonly aggregated using clodius based on some importance using the clodius bedpe command. See the data preparation section for an example of the aggregation command.

higlass-manage ingest --filetype bed2ddb --datatype 2d-rectangle-domains annotations.bed2ddb

Horizontal 2D Rectangle Domain

_images/horizontal-2d-rectangle-domains-thumb.png

track-type: horizontal-2d-rectangle-domains datatype: 2d-rectangle-domains

Horizontal rectangle domains show a 45 degree rotation of rectangular domains on a 1D track. This track is most commonly used with domains that are close to the diagonal of the heatmap. Because the track is oriented so that the diagonal of the 2D view is situated along its base, rectangles far from the diagonal may be outside of the bounds of the track.

Line

_images/line-track-thumb.png

track-type: horizontal-line datatype: vector

Line tracks display 1D vector data. Because each line segment requires two adjacent points to be present, data with lots of NaNs may lead to a fragmented plot. For such data, the bar track or point track may be more appropriate.

Bar

_images/bar-track-thumb.png

track-type: horizontal-bar datatype: vector

Bar tracks display 1D vector data as bars.

Point

_images/point-track-thumb.png

track-type: horizontal-point datatype: vector

Point tracks display 1D vector data. Unlike line tracks, they are well suited to data with NaNs because they do not require two points to draw something.

Chromosome Labels

_images/chromosome-labels-thumb.png

track-type: horizontal-chromosome-labes datatype: chromsizes filetypes: chromsizes-tsv

The chromosome labels track shows the names of the chromosomes. Its data is sourced from a standard chromSizes file containing chromosome names and chromosome files. The file can be ingested by the higlass server like any other tileset. As long as the datatype is set to chromsizes this track should be selectable from the “Add Track Dialog”.

Chromosome Grid

_images/chromosome-grid-thumb.png

track-type: 2d-chromosome-grid datatype: chromsizes filetypes: chromsizes-tsv

A chromosome grid displays the boundaries of chromosomes on the 2D area. Its data is sourced from a standard chromSizes file containing chromosome names and chromosome files. The file can be ingested by the higlass server like any other tileset. As long as the datatype is set to chromsizes this track should be selectable from the “Add Track Dialog”.

To find the chromosome grid in the list of tracks, search for “chromosomes” when adding a track to the center view.

Stacked Bars

_images/horizontal-stacked-bar-scaled-thumb.png

track-type: horizontal-stacked-bar datatype: multivec

Stacked bar tracks display multivec data. They show multiple values at every location in the data by using a set of vertically stacked bars. There is an option to pick ‘unscaled’ and ‘scaled’ representations, which scale the height of the bars to the maximum and minimum value in all visible tiles or to fit the height of the track, respectively.

Multiple Lines

_images/basic-multiple-line-chart-thumb.png

track-type: basic-multiple-line-chart datatype: multivec

Displays multivec data by showing multiple values at every location using a number of line graphs.

Multiple Bar Charts

_images/basic-multiple-bar-chart-thumb.png

track-type: basic-multiple-bar-chart datatype: multivec

Displays multivec data by showing multiple values at every location using a number of bar graphs.