SimpleBlastHitDistributionProps
Defined in: packages/components/src/components/BlastHitDistribution/types.ts:34
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
hits |
BlastHit[] |
undefined |
- |
queryLength |
number |
undefined |
Length of the query sequence: the extent of the x-axis. |
queryName? |
string |
undefined |
Name shown on the ruler. |
width? |
number |
800 |
Width in pixels. |
showScale? |
boolean |
true |
Show a query-position ruler. |
metric? |
BlastMetric |
"evalue" |
Which field colours the hits. |
hitPopoverFn? |
(hit) => ReactNode |
ids, coordinates and all three metrics |
Popover content for a clicked hit. |
viewport? |
Viewport |
the whole query |
The visible window along the query. |
onViewportChange? |
(next) => void |
undefined |
Called with the next window on every pan/zoom. |
selection? |
HitSelection |
none |
The selected hits. |
onSelectionChange? |
(next) => void |
undefined |
Called with the next selection when a hit is clicked (which toggles it). |