Plot an admixture graph on a map
plot_graph_map(graph, leafcoords, shapedata = NULL)
a two column matrix specifying the admixture graph. first column is source node, second column is target node. the first edge has to be root -> outgroup. admixture nodes are inferred as those nodes which are the targets of two different sources.
data frame with columns group
, lon
, lat
shapedata
a plotly object
plot_graph_map(example_igraph, example_anno)