CanvasFeatureGateMixin
Auto-generated @jbrowse/mobx-state-tree API for the current JBrowse release — see pluggable elements for concepts. Provided by the canvas plugin. View source.
The density axis of the region-too-large gate, composed after
MultiRegionDisplayMixin. A display opts in by composing this and calling
commitGateMeasurements from its fetch's onComplete.
Volatiles
| Member | Description |
|---|---|
| densityStatsPerRegion | Per-region feature counts, so the verdict is a live max at the current bpPerPx. |
Getters
| Member | Description |
|---|---|
gateEnabledboolean | types.compose resolves a collision to the later argument, so this mixin must follow the one declaring the byte-gate opt-in. |
visibleFeatureDensityPerPxnumber | Density at the debounced coarseBpPerPx, so the verdict shares the layout cadence. |
maxFeatureDensitynumber | undefined | Undefined when the axis may not act. |
densityTooLargeboolean |
Methods
| Member | Description |
|---|---|
observedMaxDensity(bpPerPx: number) => number |
Actions
| Member | Description |
|---|---|
| setDensityStats | |
clearGateMeasurements() => void | |
| commitGateMeasurements | Judged by the tier captured at issue. |