Goal Get started Data Add geographical coordinates Create leaflet Save the map Reason for deviation from the original This post provides the R-Code to map the 26 populations of the 1000 Genomes project.
Goal Create a map similar to the one1 on the front page of http://www.internationalgenome.org/ in a reproducible manner.
Version on internationalgenome.org
Get started Packages needed:
## accessed via :: # library(mapview) # library(readxl) # library(readr) # library(purrr) # library(tidyr) # library(forcats) library(leaflet) library(dplyr) library(ggmap) ## for geocode, devtools::install_github("dkahle/ggmap") ggmap requires a google map api key2: