Skip to content

SimpleGenomeBrowserProps

Defined in: packages/components/src/components/GenomeBrowser/types.ts:67

Property Type Default value Description
tracks GenomeTrack[] undefined The tracks to render, top to bottom.
referenceLength number undefined Length of the reference sequence: the full extent of the coordinate axis.
referenceName? string undefined Reference sequence name, shown on the ruler.
width? number 1000 Pixel width of the whole component.
showScale? boolean true Show a genomic-position ruler above the tracks.
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.
viewport? Viewport the whole reference The visible genomic window.
onViewportChange? (next) => void undefined Called with the next window on every pan/zoom.