VariantCellEncoding
Auto-generated from the config schema in the source. See the config guide for concepts. Provided by the variants plugin. View source.
The variant display's encoding, the channels its records and genotype
cells paint through.
Example usage
{ type: 'LinearVariantDisplay', encoding: { color: 'svType' } }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 VariantCellColor |
The hue of every record and every genotype cell with an alt allele: unset, the SV type and genotype colors; { value }, a CSS color or jexl: callback; or a field, one of the impact, svType and phaseSet presets or any record field, whose values each take a color with a key. |
Related links
- Tutorial: Mutation cohort (TCGA)