Track Viewer
@genomics/track-viewer
Linear coordinate browser (IGV-in-a-box).
Preview
1–279 · 278 bp
Sample kinase domain
279 aa · 1–279
279 aa
Scroll to zoom, drag to pan. Hovering the sequence highlights the position across the domain/site/coverage tracks.
About
Maps a visible window across the width and stacks feature tracks (genes, domains, regions, sites) plus coverage areas. Wheel zooms around the cursor, drag pans. The pointer position broadcasts as a reference residue, and features containing a linked/selected residue are outlined.
Usage
import { TrackViewer } from "@/components/ui/track-viewer"
<TrackViewer tracks={tracks} domain={[1, 279]} />Registry dependencies
Source:
components/ui/track-viewer.tsx