Klar

Charts / React science and statistics charts / Statistics

Manhattan plot

Association p-values for every variant along the genome, with significance lines, clumped loci named by gene and a Q–Q panel with λ.

React component ManhattanPlot, data through props. Uncertainty made visible: fits, intervals, survival and effect sizes. Tags: manhattan, gwas, genomics, p-value, qq-plot, genetics, canvas.

Install

npm i klar-charts

import 'klar-charts/styles.css'
import { ThemeScope, ManhattanPlot } from 'klar-charts'

# or copy the source:
npx shadcn@latest add https://klar.run/r/sci-manhattan.json

Usage

<ManhattanPlot points={data} groups={heightChromosomes} height={430} />

Related manhattan plot charts