This function display a representation of the networks.
1 | plot_network(g1,g2,layout,taxnames)
|
g1 |
the original network X |
g2 |
the augmented network Y with additional nodes (all the original nodes from X must be present in the augmented network Y) |
layout |
igraph layout function (default=layout.kamada.kawai) |
taxnames |
the taxon name of the nodes added to the original graph. By default, we select all nodes that are not in g1. Note that in order to display all the different taxa groups, you must use 'allgroup' as the taxnames argument |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.