How to make a manhattan plot
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a number or text column for Chromosome, a number column for Position and a number or text column for P-value, plus a text column for Variant if you have it.
-
Check the columns
The manhattan plot picks its columns for you. Change any of them under Data.
-
Style it and download
Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.
What is a manhattan plot?
A Manhattan plot shows the p-value of every genetic variant tested in a genome-wide association study, laid out in order along the chromosomes. Regions linked to the trait rise as tall towers, like a city skyline.
How to read it
The horizontal axis is position along the genome, chromosome by chromosome in alternating colours. The vertical axis is minus log10 of the p-value, so taller points are stronger associations. Points above the dashed line at p = 5e-8, the usual genome-wide significance threshold, are highlighted.
When to use it
Spot the genome regions linked to a trait in an association scan. It is one of the distribution charts, which show how values spread out, cluster and stray.
When the tests have no natural order along a genome, a Volcano plot shows effect size and significance together. For a few named variants, a Forest plot of their effect sizes is clearer.
Tips for a better manhattan plot
- Give one row per variant with chromosome, base pair position and raw p-value; chromosomes are sorted 1 to 22, then X, Y and MT.
- A real signal usually appears as a column of neighbouring variants rising together, while a lone high point is often a genotyping error.
- Check a Q-Q plot of the same p-values for inflation before reading too much into the peaks.
Data you need
One row per item with a number or text column for Chromosome, a number column for Position and a number or text column for P-value, plus a text column for Variant if you have it. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Chromosome | Position | P-value |
|---|---|---|
| 1 | 305202 | 0.2582 |
| 1 | 1785659 | 0.3325 |
| 1 | 2629286 | 0.6452 |
| 1 | 3354553 | 0.3392 |
| 1 | 5416605 | 0.2692 |
| 1 | 6356323 | 0.5340 |
| 1 | 7031958 | 0.1151 |
| 1 | 8464352 | 0.6582 |
Other charts for the same data
More distribution charts
Questions, answered
- What is a manhattan plot?
- A Manhattan plot shows the p-value of every genetic variant tested in a genome-wide association study, laid out in order along the chromosomes. Regions linked to the trait rise as tall towers, like a city skyline.
- How do you read a manhattan plot?
- The horizontal axis is position along the genome, chromosome by chromosome in alternating colours. The vertical axis is minus log10 of the p-value, so taller points are stronger associations. Points above the dashed line at p = 5e-8, the usual genome-wide significance threshold, are highlighted.
- How do I make a manhattan plot?
- Paste your data into the chart maker with a number or text column for Chromosome, a number column for Position and a number or text column for P-value, plus a text column for Variant if you have it. The manhattan plot draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a manhattan plot?
- Spot the genome regions linked to a trait in an association scan. It belongs to the distribution family of charts, which show how values spread out, cluster and stray. When the tests have no natural order along a genome, a Volcano plot shows effect size and significance together. For a few named variants, a Forest plot of their effect sizes is clearer.
- Is this manhattan plot maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the manhattan plot as SVG or PNG.