GGenomics UI
Components/Viewers

Manhattan Plot

@genomics/manhattan-plot

Genome-wide association results.

Preview

1,498 variants · threshold 5.0e-8
Use left and right arrow keys to step between points, Home and End for the first and last, Enter to select, Escape to clear. Points are ordered by significance, most significant first.

About

Each variant is a point: x is cumulative genome position (chromosomes concatenated, alternating shades), y is −log10(p), with a genome-wide significance line. onSelect fires the picked hit for linking to a browser.

Usage

import { ManhattanPlot } from "@/components/ui/manhattan-plot"

<ManhattanPlot hits={hits} onSelect={(h) => setLocus(h)} />
Source: components/ui/manhattan-plot.tsx