This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to plot haplogroup map with pie charts?

I want to draw a geographic map with pie charts placed as markers for illustrating some statistics. The following figures are examples of I want to achieve:

http://i2.wp.com/thedockyards.com/wp-content/uploads/2015/04/Genetic-Map-of-Europe.png

https://forwhattheywereweare.files.wordpress.com/2014/02/ab132-brisighelli-haploiddnamap.png

http://family.morkel.net/wp-content/uploads/Deep-Ancestry.pdf

https://tenthmedieval.files.wordpress.com/2011/06/piis0002929708005922-gr2-lrg.jpg?w=500

As you can see, all contain a geographic map with a pie chart like haplogroups.

I have been researching and the best tool I can find is this:

https://github.com/humangeo/leaflet-dvf

But it seems hard to use, as it uses JavaScript, and depends on using a web browser. Is there any other more specialized or easier tool?

plot haplogroup map mapping phylogeography

Have you found a solution? Given a haplogroup, how do you find our the geographic information associated with the haplogroup?

2 answers

Looks you can do things like that with R (I stumbled on http://rgraphgallery.blogspot.be/2013/04/rg-plot-bar-or-pie-chart-over-world-map.html and http://stackoverflow.com/questions/20052250/pie-charts-in-ggsubplot-ggplot2, among others).

You can do this with ggtree. Full explanation here: http://stackoverflow.com/questions/10368180/plotting-pie-graphs-on-map-in-ggplot

This is the image used as an example, but there are other options there as well: enter image description here

Log in to answer this question.