LinearScoreDisplay
Auto-generated from the config schema in the source. See the config guide for concepts. View source.
Config for the worked-example score display. Attaches to any FeatureTrack.
Related links
- Adapter: BedAdapter
- Adapter: BedTabixAdapter
- Adapter: BigBedAdapter
- Adapter: CrisprGuideAdapter
- Adapter: FromConfigAdapter
- Adapter: GenbankAdapter
- Adapter: Gff3Adapter
- Adapter: Gff3TabixAdapter
- Adapter: GtfAdapter
- Adapter: GtfTabixAdapter
- Adapter: NCListAdapter
- Adapter: SequenceSearchAdapter
- Adapter: SPARQLAdapter
- State model: runtime API
- Config guide: Tracks
- Developer guide: Custom track and display types
Config slots
Display slots go on a display entry: "displays": [{ "type": "LinearScoreDisplay", ... }], or in the track's displayDefaults, which routes each setting to every display of the track whose slot takes it. 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 |
|---|---|
heightnumber = 100 |
height of the display in pixels |
| encoding LinearScoreEncoding sub-schema |
The channels each box paints through, spelled as the built-in displays spell theirs: color.value fills every box, and y.field names the feature attribute read as the box height. |
encoding.color.valuecolor = '#0068d1' |
fill color for every score box |
encoding.y.fieldstring = 'score' |
feature attribute read as the score (box height); normalized per region |