GGenomics UI
Components/Viewers

Dot Plot

@genomics/dot-plot

Pairwise comparison by shared k-mers.

Preview

k=3 · 138 matches
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

A dot at (i, j) marks a k-mer shared between position i of sequence A and j of sequence B. Diagonals are conserved segments; off-diagonals are repeats or rearrangements. Hover broadcasts A's position.

Usage

import { DotPlot } from "@/components/ui/dot-plot"

<DotPlot seqA={a} seqB={b} size={340} />
Source: components/ui/dot-plot.tsx