View source: R/phylo_plotting.R
| phylo_plotting | R Documentation |
Plot a phylogeny based on either the original or simplified network.
phylo_plotting(links, nodes, captions = NULL, iterations = 25, nodePadding = 3)
links |
The links from the original or simplified network. |
nodes |
The nodes from the original or simplified network. |
captions |
The captions that will appear when you hover over each node in the phylogeny. |
iterations |
The number of iterations used to optimize the sankey plot (default is 25). |
nodePadding |
The vertical padding between nodes in the sankey plot (default is 3). |
A D3.js sankey plot that can be saved as an interactive HTML file using htmlwidgets or a static PNG file using r2d3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.