FeatureEncoding
Auto-generated from the config schema in the source — see the config guide for concepts. Built into JBrowse core. View source.
The canvas feature displays' encoding, the channels the features paint
through.
Example usage
{ type: 'LinearBasicDisplay', encoding: { color: 'gene_biotype' } }Config slots
A setting written to it names members one by one: a member left out stays as it is, and null resets one. 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 FeatureColor | The main fill of each feature: { value }, a CSS color or a jexl expression, or a field and the scale its values map through, with a key. |
Related links
- Tutorial: ChromHMM chromatin states
- Tutorial: CNV cohort (TCGA)
- Tutorial: QTL mapping (BXD mice)
- User guide: Multi-row feature track
- Config guide: Customizing feature colors