SyntenyFadeMixin
Auto-generated from the @jbrowse/mobx-state-tree model in the source — see the developer guide for concepts. Built into JBrowse core. View source.
The fade a view drawing synteny ribbons offers whatever the color mode: a
sub-pixel alignment by its on-screen width, so a dense whole-genome picture
keeps its density instead of saturating. A fade by the data is the
opacity object's (SyntenyColorsMixin). The linear synteny view and the
circular view both compose it; a view supplies autoFadeWidthPx.
Properties
| Member | Description |
|---|---|
| fadeThinAlignmentsMode | Fade a sub-pixel-thin ribbon's opacity by its on-screen width, so an unfiltered whole-genome view doesn't read as a full-opacity hairball. 'auto' fades once a display is dominated by sub-pixel ribbons and leaves a sparse comparison at full alpha; 'on'/'off' pin it. Resolved view-wide by fadeThinAlignments. |
Volatiles
| Member | Description |
|---|---|
fadeThinLatchboolean | Whether the 'auto' thin-fade is latched on (see fadeThinAlignments). |
Getters
| Member | Description |
|---|---|
autoFadeWidthPxnumber | Overridable hook: the width 'auto' compares against its thresholds, the narrowest capped mean block width of any display with enough blocks to judge, or Infinity with none. |
fadeThinAlignmentsboolean | The resolved fade-thin flag every display renders by. 'auto' fades once any loaded display is dominated by sub-pixel ribbons, latched with a deadband (fadesThinAt, ADR-083) so a view near the threshold does not flip while panning. View-wide, so every display fades together. |
Actions
| Member | Description |
|---|---|
setFadeThinAlignmentsMode(arg: FadeThinMode) => void | |
setFadeThinLatch(arg: boolean) => void | Move the latched 'auto' thin-fade decision — installAutoFadeLatch is the only caller. |
Related links
- Docs: URL query parameter API