GGenomics UI
Components/Cells & data

Variant Cell

@genomics/variant-cell

Source-backed variant cells.

Preview

Variants7
Sample kinase domain
279 aa · 1–279
279 aa
Use arrow keys to move along the sequence, Shift plus arrow to jump ten, Home and End for the ends, Enter to select, Space to add to the selection, Escape to clear.

About

The genomics port of retab's source-backed data-cell. A called variant is a value that carries its evidence: the reference residue it affects. Hovering broadcasts that residue; clicking selects and focuses it. Incoming linked selection scrolls the matching row into view. VariantList wraps a scrollable column of cells.

Usage

import { VariantCell, VariantList } from "@/components/ui/variant-cell"

<VariantList variants={variants} title="Called variants" />
Source: components/ui/variant-cell.tsx