MultiWaySyntenyDisplay
Auto-generated from the @jbrowse/mobx-state-tree model in the source. See the developer guide for concepts. Provided by the linear-comparative-view plugin. View source.
Draws a multi-genome ortholog track as one lane per assembly inside a linear genome view, with ribbons joining each gene's placements between adjacent lanes.
The configuration slots for this model are documented on its config schema page.
Each section ends with the members a composed model contributes, linked to the page that documents them.
Properties
| Member | Description |
|---|---|
type"MultiWaySyntenyDisplay" |
Always "MultiWaySyntenyDisplay", the name a snapshot selects this model by. |
configurationMultiWaySyntenyDisplayConfig |
The config node this model reads its settings from, through getConf. Its slots are documented on its config schema page. |
readonly string[] | undefined |
the lanes a reader hid from the lane menu, by assembly name; the lanes chosen are rows.kept |
frozenLanesFrozenLanes | undefined |
|
lanePinsreadonly LanePin[] | undefined |
the reader's pins: a lane's contig, or a block on it, and its orientation on a contig against the anchor it was set under |
Volatiles
| Member | Description |
|---|---|
fetchedFeaturesAnchorFetch | undefined |
|
seenAttributeRangesRecord<string, AttributeRange> |
|
laneGenesLaneFetchState<HeldLaneGenes> |
|
laneDescriptionsMap<string, AssemblyDescription> |
|
describedLanesSet<string> |
|
lanesBeingDescribedSet<string> |
|
releasedLanesSet<string> |
|
laneLinksLaneFetchState<HeldLaneLinks> |
per adjacent mate-lane pair, at the lanes' own coordinates |
laneGroupsLaneFetchState<HeldLaneGroups> |
per mate lane, a gene table's rows on the lane's own window |
laneLayerDataLaneFetchState<HeldLaneLayer> |
|
hoverTargetHoverTarget | undefined |
|
clickedTargetRibbonRef | undefined |
|
laneDecisionsMap<string, LaneDecision | undefined> |
|
renderOriginPxnumber |
the view's offsetPx the stack was last laid out against |
laneTransitionsMap<string, LaneTransition> |
|
laneMotionClockMsnumber |
|
heldLaneOrderHeldLaneOrder | undefined |
the structure order graph haplotype lanes stack by while nothing pins one, with the window and lane selection it was worked out on |
filedPiecesreadonly FiledPiece[] |
the piece lanes as last filed, whose names a refetch's pieces take |
laneMotionHalfwayReadonlySet<string> |
|
laneDragPxReadonlyMap<string, number> |
24 inherited volatiles from 8 models
From ContextMenuMixin:
From LodTierInfoMixin: adapterHeaderRead
From LegendMixin: dismissedLegendSections
From KeyedFetchMixin: loadedFetchKey
From FetchMixin: activeSignal, fetchGeneration, reloadCounter, statusWindow, error, statusMessage, statusProgress, fetchCanceled, fetchRotation
From RenderLifecycleMixin: canvasDrawn, paintCount, currentRenderingBackend, renderTick, renderError, offScreen
From RegionTooLargeMixin: forceLoadTrack, byteEstimate, gateMeasuredViewportKey
From TrackHeightMixin: scrollTop, hostHeight
Getters
| Member | Description |
|---|---|
declaredLanesDeclaredLane[] |
|
starAnchorstring | undefined |
|
lgvLinearGenomeView |
|
anchorAssemblyNamestring |
|
anchorAssemblyAssembly | undefined |
|
anchorCanon(refName: string) => string |
the anchor assembly's canonical spelling of a refName |
laneAssembliesLaneAssemblies |
how the session spells a lane's genome and contigs |
trackAssemblyNamesstring[] |
|
currentFetchAnchorFetch |
the held anchor fetch, empty while none is held or the view's anchor differs from the fetch's |
anchorRecordsLoadedboolean |
|
featuresFeature[] |
|
featureOpsAlignmentOpsById |
|
windowDeletionsreadonly WindowDeletion[] |
the deletions a record states across the whole fetched window, for a lane the window shows none of |
hoveredGroupKeystring | undefined |
|
resolutionLodMode |
|
ribbonColorstring |
|
laneChoicereadonly string[] |
rows.kept as a choice: empty while it names no lane |
ribbonColorFieldstring | undefined |
|
ribbonColorDomainstring[] |
|
ribbonColorRangereadonly string[] |
The colors a ribbon column's labels take in domain order: scale.range, else scale.scheme sampled once per domain value |
ribbonPaintSyntenyColorPaint |
|
ribbonOpacitySyntenyOpacitySnapshot |
ribbons.encoding.opacity as its snapshot holds it |
ribbonFilterFieldPredicate[] |
ribbons.filter, the entries a ribbon must all pass to draw |
hideUnlabelledboolean |
whether ribbons.filter drops the ribbons with no value for the field they paint by, the "Hide unlabelled rows" box |
interpolate"bump" | "linear" |
The curve every ribbon side takes, ribbons.mark.interpolate. |
showLaneTicksboolean |
|
showGeneLabelsboolean |
|
geneTextFieldstring |
labels.name.field: a field or a jexl expression, empty for no name |
inlineLaneNamesboolean |
|
geneLabelPxnumber |
|
laneLayerHeightsnumber[] |
|
layerPxnumber |
|
geneColorSettingsGeneColorSettings |
|
geneColorEncodingstring | FieldColorEncoding | undefined |
|
geneColorFieldstring | undefined |
undefined while encoding.color.value paints |
geneSolidColorstring | undefined |
the constant encoding.color.value holds, undefined for none or a jexl: one |
hasLodCapableAdapterboolean |
|
lodTierLodTier |
read off the settled zoom, so a passing gesture refetches nothing |
liveLodTierLodTier |
|
viewSignaturestring | undefined |
|
laneField"assembly" | "piece" | "refName" |
rows.field resolved: a lane per genome, or per copy of the window a genome holds |
groupedFeaturesMultiWayGroup[] |
|
| filedGroups |
the groups as rows.field files them, in one pass with the copy lanes the floor drops |
groupsMultiWayGroup[] |
each mate filed under its genome's lane, or its copy lane |
copyLanesUnderFloorreadonly string[] |
the copy lanes the window places too little of to draw, which the lane dialog offers unticked |
| laneIndels |
each lane's holes and stated changes against the anchor, read off every fetched group rather than the viewport's, so one appears once both its pieces arrive and not as the second scrolls in |
| laneOpenings |
each lane's holes on the strand it is drawn on, where laneIndels finds the anchor's side of a gap longer than the lane's |
| laneChanges |
each lane's deletions, insertions, stretches replaced and inversions as its records state them, read first on the strand it is drawn on, for the header |
laneRepeats(assemblyName: string, refName: string) => readonly LaneRepeat[] |
each lane's array records, stretches whose copies its records pair with none of the anchor's, for the header |
ribbonColorAttributesstring[] |
|
ribbonAttributeRangesRecord<string, AttributeRange> |
|
defaultOpacitynumber |
|
opacityLevelnumber |
the opacity every ribbon draws at before a field's fade |
geneColorSlotsHeldSlots | undefined |
The slots an ordinal gene color deals its values into. |
geneColorFeaturesFeature[] |
The boxes' features and every lane gene's, which a gene color field reads together |
dealtGeneColorSlotsHeldSlots | undefined |
geneColorSlots once every value the boxes and lane genes show is dealt as one batch, so the two take colors apart whichever lands first |
geneColorRampValueRamp | undefined |
The ramp a numeric gene color field paints along, over the values the boxes and lane genes show |
boxColorsGeneColors |
|
laneGeneColorsReadonlyMap<string, GeneColors> |
|
adapterCapabilitiesreadonly string[] |
|
adapterDeclaresLanesboolean |
|
adapterPairsOnAnchorboolean |
|
adapterBatchesLanePairsboolean |
the adapter answers a window's lanePairs in one call |
sessionTracksByIdReadonlyMap<string, AnyTrackConfig> |
every session track, connections' included |
rowsVsAnchorboolean |
whether each gutter draws its far lane against the anchor (rowsReadAgainstAnchor) |
laneFetchKinds{ lanePairs: boolean; laneRows: boolean; } |
the fetches beyond the anchor's that its records call for |
domainstring[] |
rows.sort in each placed lane's own spelling, so an order a config wrote with an alias merges with one a drag writes |
configuredLanesstring[] |
the track's assemblies beside the anchor for a source that declares the lanes itself, empty for every other source |
laneSelectionreadonly string[] | undefined |
undefined means every lane, and a hidden lane stays in force |
readonly string[] |
|
fetchLaneSelectionstring[] | undefined |
undefined unless the adapter declares its lanes, and lists each held genome under every name the session knows it by |
anchorLocStringstring |
|
declaredLaneLabelsMap<string, string> |
keyed by laneKey |
rowLabelsMap<string, string> |
rows.labels, keyed by laneKey |
declaredLaneColorsMap<string, string> |
the colors the source declares, the anchor's anchorColor among them, keyed by laneKey |
rowColorsMap<string, string> |
rows.colors, keyed by laneKey |
againstAnchorstring | undefined |
the anchor's name in a lane's vs badge and the legend where the lanes read against it: its label beside copy lanes, which name their genome's label, else its assembly name |
laneUniverseLaneChoice[] |
the anchor is never a lane |
unalignedChosenLanesstring[] |
the lanes rows.kept names that the held fetch answered for and placed nothing in; an unchosen lane placing nothing draws no row |
rowAssembliesstring[] |
a paralogy mate on the anchor assembly draws on its axis, not as a row |
anchorRownumber |
the anchor's row in the stack: first, or among copy lanes after the lanes rows.sort places before its assembly (anchorRowOf) |
laneOrderstring[] |
every lane in the order it stacks, the anchor's included |
pinsInForceLanePin[] |
the pins that hold under the anchor, each naming its lane as rowAssemblies spells it |
structureLaneKeysstring[] |
every fetched lane's key, chained by its deletions and insertions against the anchor |
rowOfLaneReadonlyMap<string, string> |
each drawn lane's row name by its canonical name, for data keyed by the records' spelling of a lane |
laneStructureOrderstring[] |
the drawn lanes in structureLaneKeys order, for "Order lanes by structure"; empty for a gene table |
lanesToDescribestring[] |
the genomes the lanes draw that the session lacks, each once however many copy lanes it draws |
laneAssemblyConfsMap<string, Record<string, unknown>> |
|
canReanchorboolean |
|
visibleBpSpannumber |
the bp the canvas spans: a lane's bpPerPx is this times its rung over canvasWidthPx, so the two read one width or every lane but the anchor is scaled against a box it doesn't fill |
windowGroups{ shown: MultiWayGroup[]; fit: MultiWayGroup[]; } |
the groups the settled blocks meet, cut as windowGroupsOn cuts them |
keyRowsnumber |
the lines the key row takes: the marks every lane source draws alike, whose longest list is known before a draw (the ribbons' orientation, a mismatch, a lane's sequence and its dashed join), laid across the canvas. None where no lane is placed, so a pan that draws more or less moves no lane |
keyBandPxnumber |
the band above the anchor lane the key row stands in, which no lane enters |
svgControlsStripSvgControlsStrip |
the key row's band as far as it shows above the scroll, which the SVG export leaves out, keying in a gutter of its own |
visibleGroupsMultiWayGroup[] |
uncut at the viewport edge, cut only at a displayed region's end |
fitGroupsMultiWayGroup[] |
the visible groups cut to the viewport, which each lane's frame fits |
tickIntervalBpnumber |
|
stackGeometryLaneGeometry |
every lane's band, the anchor's first |
scrollContentHeightnumber |
|
laneGeneTracksMap<string, AnyTrackConfig> |
keyed by each lane's own spelling, not by laneKey |
laneGeneTrackEntriesMap<string, TrackConfigEntry> |
each lane's gene track config as a hydrated track reads it, so a frozen entry's displayDefaults and retired display types count |
laneGeneAdaptersMap<string, Record<string, unknown>> |
|
scrollViewportHeightnumber |
|
dragOffsetPxnumber |
the px the view has scrolled since the stack was laid out |
anchorReversedboolean |
|
anchorStageAnchorStage |
the live view, laid out against renderOriginPx, as the lanes draw against it |
rowFramesMap<string, RowFrame | undefined> |
|
lanesFrozenboolean |
true only while the view, on the anchor the lanes froze on, still shows part of the window they froze on |
frozenDecisionsReadonlyMap<string, LaneDecision> |
empty unless lanesFrozen |
anchorFetchRegionsFetchRegion[] |
|
laneWindowsReadonlyMap<string, LaneWindow> |
what each lane's dependent fetches ask for: the anchor's merged blocks, and each held, framed lane's window |
lanePairsLanePair[] |
|
anchorlessGroupsPlacedGroup[] |
|
laneGenesFetchSpecsLaneGenesFetchSpec[] |
|
laneGroupsFetchSpecsLaneGroupsFetchSpec[] |
a gene table read on each mate lane's window, for the rows the anchor lacks; a star source indexes its anchor alone, so it has none to give |
laneLinksFetchSpecsLaneLinksFetchSpec[] |
one spec per adjacent mate-lane pair whose gutter is on screen or within a screen of it |
laneLayerTemplates(Record<string, unknown> | undefined)[] |
READS_REFERENCE also admits BAM, CRAM and MultiWiggleAdapter, none of which computes from the reference; kept, since no config uses one |
laneLayerSourcesMap<string, LaneLayerSource>[] |
|
laneLayerReads{ specs: LaneLayerFetchSpec[]; pastCap: boolean[]; } |
pastCap flags a layer that skipped a lane past LANE_TEMPLATE_MAX_BP |
laneLayersFetchSpecsLaneLayerFetchSpec[] |
|
laneStackLaneStack |
|
laneMapsReadonlyMap<number, LaneMap> |
|
laneHeaderRowsLaneHeaderRow[] |
|
pairLinksReadonlyMap<string, LaneLinks> |
the alignments the source answered for each adjacent mate-lane pair, keyed upper|lower; a pair it has not answered draws nothing |
noLanesNote{ y: number; text: string; } | undefined |
where the stack says that no lane has sequence placed in the window: only on records fetched for this window and every lane the track names, whatever is hidden, counting the track's lanes where it names them |
loadingGutterYsnumber[] |
the centre, in stack px, of each gutter whose lane pair was asked for and has not landed |
laneFetchErrorsReadonlyMap<string, unknown> |
the error each lane's gene, group or layer fetch failed with, by lane |
failedGutters{ y: number; error: unknown; }[] |
the centre, in stack px, of each gutter whose lane pair failed to load, with the error |
unheldGutters{ y: number; labels: string[]; }[] |
the centre, in stack px, of each gutter left empty because a lane's genome is not in the session and no plugin described it, with those lanes' labels |
ribbonGeometryRibbonGeometry |
|
tickGeometryTickGeometry |
|
bandCellMultiWayCell |
|
anchorTickXsnumber[] |
|
| anchorRule |
|
| laneCells |
|
laneGlyphCellsMap<string, MultiWayCell> |
|
laneBoxNamesMap<string, NamedSpan[]> |
|
laneGeneGroupsMap<string, Map<string, string>> |
per lane, each drawn gene's group, keyed by feature id |
pinnedLabelGroupsReadonlySet<string> |
|
geneTextOf(feature: Feature) => string | undefined |
|
geneColorScalesColorScale[] |
keys every lane, over the settled window, or the anchor lane alone where every lane's values are too many to list |
colorScalesColorScale[] |
|
laneSequenceScalesColorScale[] |
the key to an alignment lane's sequence bar and, where one is drawn, the dashed join across a hole |
keyRowScalesColorScale[] |
the scales the key row lists: the marks every lane source draws alike |
legendSpecLegendSpec |
the floating key: every scale the key row leaves out, the colors data picks, such as a gene's or a ribbon field's |
legendRightnumber |
|
legendTopnumber |
the anchor lane's foot, so the floating key sits in the gutter under it rather than over the genes every lane is read against |
laneLayerPlacementsLaneLayerPlacement[] |
|
laneLayerDomains([number, number] | undefined)[] |
undefined for a layer no drawn lane holds values for yet |
laneLayerColorsColorSource[][] |
where each lane layer's marks take their color from, one per mark, read the way the mark display reads its colors |
selectedGlyphHitsGlyphHit[][] |
the selected feature's glyph hits per row, which a pan leaves alone |
laneLayerColorScales(MarkColorScale | undefined)[][] |
the ramp or threshold each lane layer's bars paint numbers through, one per mark and undefined for a mark colored another way; a ramp's domain covers the values of every drawn lane, as laneLayerDomains does for y, so one value takes one color in all of them |
laneLayerTitles{ key: string; text: string; top: number; }[] |
|
laneLayerCells{ cells: Map<string, MultiWayCell>; layers: BarLayer[]; } |
|
namedCellsReadonlyMap<string, MultiWayCell> |
|
namedLayersMultiWayLayer[] |
back to front, bands first to cover the view's gridlines |
hoveredFeatureIdnumber |
|
clickedFeatureIdnumber |
|
hoverInkHighlightRect[] |
|
selectionInkHighlightRect[] |
|
highlightStyleHighlightStyle |
|
groundPaletteJBrowsePalette |
|
outlineCellsReadonlyMap<string, MultiWayCell> |
|
renderCellsReadonlyMap<number, MultiWayCell> |
keyed by sharedBackendKey |
renderLayersReadonlyMap<number, MultiWayLayer> |
back to front, each outline immediately over the gutter it traces |
ribbonRegionsReadonlyMap<number, SyntenyInstanceData> |
in draw order |
ribbonLayerRowsReadonlyMap<number, readonly [number, number]> |
the upper and lower row of each ribbon layer, keyed by sharedBackendKey |
ribbonRecordsReadonlyMap<number, ReadonlyMap<number, Feature>> |
ribbonGeometry.records keyed by sharedBackendKey |
renderStateMultiWayRenderState |
|
renderBlocksRenderBlock[] |
|
ribbonPickStateSyntenyRenderState |
|
animatingboolean |
|
laneFetches{ state: LaneFetchState<HeldLane>; specs: LaneFetchSpec[]; }[] |
|
awaitingDependentDataboolean |
|
dataSupersededboolean |
|
hoveredFeatureFeature | undefined |
71 inherited getters from 11 models
From LodTierInfoMixin: adapterHeader, lodTierInfo
From ColorWritesMixin: writtenColor
From ParkedColorMixin: parkedColor, parkedIdentity
From LegendMixin: showLegend, showLegendInExport, hasLegendKey, keyDrawnByHost
From GlobalFetchMixin: host, canvasWidthPx, staticBlockSignature, dynamicBlockSignature, viewportEmpty, canRender, rendersCanvas, paintInert, svgReady, displayPhase
From KeyedFetchMixin: currentFetchKey, dataCurrent
From FetchMixin: isLoading, isLoadingOrCanceled, fetchInert, awaitingPrerequisite, fetchHeld, settingsFetchInputs
From RenderLifecycleMixin: paintSuperseded, painted
From RegionTooLargeMixin: gateEnabled, byteGateAdapterConfig, densityTooLarge, byteGateAdapterPath, adapterFetchSizeLimit, gateViewportSpanBp, gateViewport, configuredFetchSizeLimit, configForceLoad, aboveForceLoadFloor, gateExempt, estimatedFetchBytes, gateByteLimit, gateActive, gateMeasurementStale, densityGateActive, tooLargeStatus, regionTooLarge, regionTooLargeReason, zoomCanReleaseGate, gateSkipsMeasuredViewport
From TrackHeightMixin: configuredHeight, allottedHeight, height, resizing, scrollableHeight
From BaseDisplay: parentTrack, selectedFeatureId, RenderingComponent, DisplayBlurb, adapterConfig, isMinimized, featureNoun, featureWidgetType, liveNotices, plotKeys, plot, configNotices, notices, cornerNotices, plotExamples, configDocsUrl
Methods
| Member | Description |
|---|---|
copyFiling() => CopyLaneFiling |
how copy lanes file: rows.kept lifts the floor, and the anchor's own contigs file nowhere, and only the groups the settled viewport shows weigh against the floor |
laneKey(lane: string) => string |
the canonical name, so two spellings of one lane share a key: a copy lane's assembly and refName each canonical, where the session holds its genome |
laneSpellings(lane: string) => string[] |
the lane's genome and every alias the session holds it under |
namedLaneTracks(entries: readonly string[], key: string) => AnyTrackConfig[] |
the tracks entries names for the lane keyed key, best first: plain ids, then {assembly} entries, each in entry order |
rpcProps() => { haplotypes: string[] | undefined; } |
reads only user-controlled state, never a fetch's output, or it loops |
holdsAssembly(lane: string) => boolean |
|
holdsTemporarily(assemblyName: string) => boolean |
|
laneLabel(lane: string) => string |
|
laneColor(assemblyName: string) => string | undefined |
the color a lane's label bar draws, undefined for none |
placelessOf(assemblyName: string) => Placeless | undefined |
why a lane the window shows none of draws a row, or undefined where it draws none |
laneSelectionTrackId(assemblyName: string) => string |
the track a lane gene's selection names: the lane's gene track, or one per lane under this display where a described genome brings the genes |
anchorStageAt(originPx: number, bpPerPx: number) => AnchorStage |
the view at bpPerPx, laid out against originPx, as the lanes decide against it |
| laneFrameOf |
undefined once the pivot is off the displayed regions |
| settledLaneDecisions |
at the settled view, as fitGroups are cut to it: which group is the pivot and what the hold test counts are judged in it. A lane in frozen keeps its frozen decision |
laneStackAt(width: number) => LaneStack |
the lanes laid across width px; has no lane genes, so a gene commit re-uploads no ribbon or tick |
statedLaneChanges(assemblyName: string, refName: string) => LaneChange[] |
the changes a lane's header states, led by those read on the strand it is drawn on |
laneMatchedOf(lane: Lane) => { start: number; end: number; } | undefined |
the stretch of a lane's contig from the first to the last base its records match to the settled window, inside its frame; a gene lane's frame |
| shownChangesOf |
the changes a lane's header chip names, largest first |
gutterY(row: number) => number | undefined |
the centre, in stack px, of the gutter under the lane at row |
ribbonGeometryOf(stack: LaneStack) => RibbonGeometry |
in the stack's own px |
tickGeometryAt(stack: LaneStack, width: number) => TickGeometry |
|
bandCellOn(page: string, width: number) => MultiWayCell |
|
anchorTickXsAt(width: number) => number[] |
px of the anchor's ticks across the displayed regions, over the reach the anchor's rule draws across width |
| anchorRuleAt |
|
| laneCellsAt |
stack's lane cells across width px; boxes before glyphs, so an in-order hit test finds a box over a gene |
| laneGeneLabels |
placed in the stack's px, over the lanes as the screen lays them out unless figure lays them out across another width |
laneLayerPlacementsAt(stack: LaneStack, width: number) => LaneLayerPlacement[] |
each payload's region placed in its lane's own frame across width px; a payload whose lane or contig no longer draws is left out |
coloredLayersOf(held: HeldLaneLayer) => EncodedChannels[] |
a held payload's layers, each colored as its mark declares |
| laneLayerCellsOn |
|
| figureAt |
the cells namedCells holds and the lanes gene labels are placed over, laid out across width px with the bands on page: an export's, whose canvas is the view's width rather than the track's. The cells are keyed by sharedBackendKey and carry no outline, which marks a click. |
pickRibbonAt(x: number, y: number) => SyntenyPickResult | undefined |
x and y are container-relative; the topmost ribbon wins |
slidableLaneAt(y: number) => string | undefined |
y is container-relative; undefined unless the lanes are frozen |
hitTest(x: number, y: number) => HoverTarget | undefined |
x and y are container-relative |
() => MenuItem[] |
|
() => MenuItem[] |
11 inherited methods from 4 models
From ParkedColorMixin: parkedColorOf
From LegendMixin: colorScalesIn, legendSpecIn
From RegionTooLargeMixin: gateFetchState, resolvedByteLimit
From BaseDisplay: renderingProps, exportedFeatures, configProblemsOf, liftPlot, plotProblems, plotWrites
Actions
| Member | Description |
|---|---|
| setFeatures |
|
clearDisplaySpecificData() => void |
GlobalFetchMixin's hook: the ortholog records were fetched for the old displayed regions. The lane fetches stay, each held under the key its own window stamps. |
setFiledPieces(pieces: readonly FiledPiece[]) => void |
|
beginDescribingLanes(names: string[]) => void |
|
| endDescribingLanes |
|
forgetUndescribedLanes() => void |
|
| setLaneGenes |
specs are the lanes current as the run lands, and anchor the one the run was issued under |
| setLaneLayerData |
|
| setLaneLinks |
|
| setLaneGroups |
|
retryFailedLanes() => void |
|
setSelectedLanes(names: readonly string[] | undefined) => void |
writes rows.kept; undefined restores configuredLanes, or every lane |
setLaneField(field: "assembly" | "piece" | "refName") => void |
writes rows.field: a lane per genome, or per copy of the window |
setRibbonColorField(field: string | undefined) => void |
|
setDomain(domain: string[]) => void |
takes the whole pinned order, empty meaning densest-first; merge a partial one with mergeDomain first |
setHideUnlabelled(flag: boolean) => void |
|
setInterpolate(interpolate: "bump" | "linear") => void |
|
setShowLaneTicks(flag: boolean) => void |
|
setInlineLaneNames(flag: boolean) => void |
|
setShowGeneLabels(flag: boolean) => void |
|
setResolution(mode: LodMode) => void |
|
setOpacity(value: number) => void |
the Opacity slider: the constant, or under a field its range scaled so its most opaque end equals value |
holdLaneOrder(regions: FetchRegion[]) => void |
runs when the anchor fetch for regions completes. Haplotype lanes read off a graph stack by structure while no order is pinned, worked out again only once a fetch leaves the window it was worked out on or asks for other lanes, so panning never reshuffles the stack |
chooseLanes(names: string[]) => void |
|
hideLane(assemblyName: string) => void |
|
showLane(assemblyName: string) => void |
|
() => void |
|
setLaneColor(assemblyName: string, color: string | undefined) => void |
pins rows.colors for the lane, replacing an entry under any other spelling of it; undefined drops the pin, so the source's color shows |
openLaneColorDialog(assemblyName: string) => void |
|
openLaneSelection() => void |
|
setLanesFrozen(flag: boolean) => void |
|
realignLane(assemblyName: string) => void |
|
nudgeLane(assemblyName: string, dxPx: number) => void |
slides a mate lane dxPx screen px, only while the lanes are frozen |
setLaneDragPx(assemblyName: string, dxPx: number) => void |
|
endLaneDrag(assemblyName: string) => void |
|
| pinLane |
a contig, or a block on it; undefined lets the lane choose again |
flipLane(assemblyName: string) => void |
|
unpinLaneFlip(assemblyName: string) => void |
|
| setLaneFrames |
originPx is the view offset the lanes are laid out against; the same origin and decisions write nothing |
restampOrigin() => void |
lays the lanes out against where the view is now; a lane's position does not depend on the origin, only what the stack clips to does |
advanceAnimation(nowMs: number) => void |
|
endAnimation() => void |
|
setRibbonColorValue(value: string | undefined) => void |
Paint every ribbon value, undefined returning to the strand colors. |
openRibbonSolidColorDialog() => void |
the picker the ribbon Color by's Solid color... opens |
openSolidColorDialog() => void |
the picker the gene Color by's Solid color... opens |
holdReleasedLane(assemblyName: string) => void |
holds a lane's temporary assembly again, after the new view it was released to failed to open |
selectFeature(feature: Feature, sourceTrackId?: string) => void |
|
openInNewView(lane: string, loc: string) => void |
|
zoomTo(loc: string) => void |
|
reanchor(lane: string, loc: string) => void |
|
setHoverTarget(target: HoverTarget | undefined) => void |
|
startRenderingBackend(backend: MultiWayRenderingBackend) => void |
|
setPointer(state?: MouseState) => void |
|
clearHoveredFeature() => void |
|
selectHovered() => void |
|
renderSvg(opts?: ExportSvgDisplayOptions) => Promise<ReactNode> |
45 inherited actions from 12 models
From ContextMenuMixin: ,
From LodTierInfoMixin: setAdapterHeader
From ColorWritesMixin: colorByField, setColorValue, colorByIdentity, colorByScheme, pickDefaultColor, pickSolidColor
From ParkedColorMixin: parkColor
From LegendMixin: setShowLegend, dismissLegendSection
From GlobalFetchMixin: clearForDisplayedRegions
From KeyedFetchMixin: commitFetchResult, reload
From FetchMixin: setError, setStatusMessage, stopActiveFetch, openStatusStream, cancelFetch, cancelFetchByUser, beforeDestroy, beginFetch, endFetch, lapseHeldFetch, runFetch
From RenderLifecycleMixin: markCanvasDrawn, resetCanvasDrawn, stopRenderingBackend, renderNow, setOffScreen, setRenderError, attachRenderingBackend
From RegionTooLargeMixin: clearByteEstimate, clearGateMeasurements, setForceLoadTrack, commitFetchBytes, forceLoad
From TrackHeightMixin: setScrollTop, setHostHeight, setHeight, resizeHeight, expandToContentHeight