MultiWayGeneColor
Auto-generated config schema for the current JBrowse release — see the config guide for concepts. Provided by the linear-comparative-view plugin. View source.
Example usage
{ type: 'MultiWaySyntenyDisplay', color: { field: 'cluster' } }See the Config slots section below for all available configuration fields.
The multi-way synteny display's gene color: a CSS colour or jexl:
callback in value, or a field whose values each take a range colour, or
whose numbers each take the colour of the interval between cut points they
fall in, with a key. A string is the constant; the object binds the field.
Config slots
These slots go on a display entry: "displays": [{ "type": "MultiWayGeneColor", ... }], 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 |
|---|---|
valuemaybeColor | A CSS colour, or a jexl callback over feature returning one. Unset, goldenrod.callback args: feature |
fieldfeatureField = '' | a feature field, or a jexl expression over feature, whose values each paint one range colour with a key; cluster paints a gene by the ortholog group it carries and a placement box by its own |
scalemaybeStringEnum | none paints value and keeps the field for a switch back; categorical a range colour per value of field; threshold a range colour per interval between the cut points in domain; unset follows field |
domainstringArray = [] | the values that take the range first, in order; a value left out keeps a colour derived from itself that no listed value paints. Under threshold, the ascending cut points, a value on a cut taking the interval above it |
rangecolorArray = [] | CSS colours the domain takes, in order, continuing into the default palette past its end; under threshold one per interval, one more than the cuts |