Entering edit mode
5 days ago
jianhua.mert
•
0
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!
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.
That could easily be done with ggplot2. Essentially, it comes down to
...and then use a combination of
geom_point
andggrepel::geom_label_repel
to assemble the plot. Without example data, cannot make an example though.