plot_graph_map | R Documentation |
Plot an admixture graph on a map
plot_graph_map(graph, leafcoords, shapedata = NULL)
graph |
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. |
leafcoords |
data frame with columns |
shapedata |
shapedata |
a plotly object
plot_graph_map(example_igraph, example_anno)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.