VariantCellEncoding
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the variants plugin. View source.
The multi-sample variant display's encoding, the channels its genotype
cells paint through.
Example usage
{ type: 'LinearMultiSampleVariantDisplay', 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 genotype cell with an alt allele: unset, the 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)