LinearHicDisplay
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the hic plugin. View source.
Example usage
A log color scale, one step coarser than the zoom picks, through the
displayDefaults shorthand. See the
Hi-C track guide for the rest:
{
type: 'HicTrack',
trackId: 'hic',
name: 'Hi-C',
assemblyNames: ['hg38'],
adapter: { type: 'HicAdapter', uri: 'https://example.com/contacts.hic' },
displayDefaults: { color: { scale: 'log' }, resolutionBias: 1 },
}Overview
Draws a HicTrack's contact matrix as a triangular heatmap in the linear
genome view, at a bin size that follows the zoom.
LinearHicDisplay - Identifier
Every LinearHicDisplay has a unique displayId, a required top-level field that identifies it (not one of the config slots below).
Related links
- Adapter: HicAdapter
- State model: runtime API
- Tutorial: Structural variants from Hi-C
- User guide: Hi-C track
- Config guide: Hi-C track
- Config guide: Tracks
- Developer guide: Custom track and display types
Config slots
These slots go on a display entry: "displays": [{ "type": "LinearHicDisplay", ... }], or in the track's displayDefaults when this is its default display. Slot types (fileLocation, frozen, ...) are explained in the config slot types reference. Slots a base configuration contributes are listed here too, so this table is the whole surface.
| Slot | Description |
|---|---|
| color HicColor | The scale from count to color: a linear or log scale onto a named scheme, over a domain whose unset ends follow the loaded counts. |
resolutionBiasnumber = 0 | steps from the zoom-picked binsize: -1 one finer, +1 one coarser, 0 follows the zoom |
showResolutionControlsboolean = false | show the on-figure resolution dropdown in the overlay |
selectedNormalizationstring = 'KR' | preferred matrix normalization (KR, SCALE, VC, VC_SQRT, NONE); a scheme the file lacks falls back to one it has |
heightnumber = 300 | default height for the Hi-C track |
showLegendboolean = false | show the color scale legend |
squashToHeightboolean = false | squash the triangle vertically to fill the display height instead of drawing square cells |
Retired keys
An older config may still write these. Each loads without an error, and jbrowse validate reports it as stale.
| Key | On load |
|---|---|
maxFeatureScreenDensity | ignored |
maxDisplayedBpPerPx | ignored |
fetchSizeLimit | ignored |
mouseover | ignored |
jexlFilters | moved into a current slot |
renderer | ignored |