GenomeBrowserProps
Defined in: packages/components/src/components/GenomeBrowser/types.ts:93
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Type | Default value | Description | Inherited from |
|---|---|---|---|---|
tracks |
GenomeTrack[] |
undefined |
The tracks to render, top to bottom. | SimpleGenomeBrowserProps.tracks |
referenceLength |
number |
undefined |
Length of the reference sequence: the full extent of the coordinate axis. | SimpleGenomeBrowserProps.referenceLength |
referenceName? |
string |
undefined |
Reference sequence name, shown on the ruler. | SimpleGenomeBrowserProps.referenceName |
width? |
number |
1000 |
Pixel width of the whole component. | SimpleGenomeBrowserProps.width |
showScale? |
boolean |
true |
Show a genomic-position ruler above the tracks. | SimpleGenomeBrowserProps.showScale |
trackRenderers? |
Record<string, TrackRenderer> |
undefined |
Track renderers by kind, merged over the built-ins (feature, coverage, genemodel): add a custom kind, or replace a built-in one. |
SimpleGenomeBrowserProps.trackRenderers |
viewport? |
Viewport |
the whole reference |
The visible genomic window. | SimpleGenomeBrowserProps.viewport |
onViewportChange? |
(next) => void |
undefined |
Called with the next window on every pan/zoom. | SimpleGenomeBrowserProps.onViewportChange |
defaultViewport? |
Viewport |
undefined |
Seeds the visible window when uncontrolled. | - |
viewportStore? |
StoreController<Viewport> |
undefined |
Keeps the visible window in an external store. | - |