How to plot haplogroup map with pie charts?
2
1
Entering edit mode
8.2 years ago

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 • 9.9k views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
2
Entering edit mode
ADD COMMENT
0
Entering edit mode

Hi, i want to plot strains distribution and their major STs in pie plot on world map like this figure https://www.frontiersin.org/files/Articles/795173/fmicb-12-795173-HTML/image_m/fmicb-12-795173-g001.jpg and i tried in R also but unable to do it. Does anyone know anything please let me know?. It will be big help

Thank you!

ADD REPLY
1
Entering edit mode
8.2 years ago
igor 13k

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

ADD COMMENT

Login before adding your answer.

Traffic: 2395 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6