How do I generate a Manhattan plot like this?
Hi all,
I'm trying to generate a Manhattan plot similar to this one I found online: https://plottie.art/plots/5372
It looks cleaner than the default ones I’ve seen — especially in terms of layout, significance threshold lines, and how the top SNPs are annotated.
I’m wondering:
What R or Python packages can produce plots like this?
Any tips on customizing axis ticks, colors by chromosome, or labeling top hits?
Would appreciate any guidance or example code. Thanks!
• 854 views
•
link
0 answers
No answers yet.
Log in to answer this question.
That could easily be done with ggplot2. Essentially, it comes down to
...and then use a combination of
geom_pointandggrepel::geom_label_repelto assemble the plot. Without example data, cannot make an example though.R-Graph-Gallery offers examples in R for both base and with the library ggplot2 for a lot of the more common graph types used in science. Including for Manhattan Plots.
Thanks, that's a good resource.