Description Usage Arguments Value
Takes a data.frame from convert_phylo_to_sankey() or similar and creates a text block suitable for pasting into http://sankeymatic.com/build You can then cat() the final object to see it.
1 | convert_to_sankeymatic(sankey)
|
sankey |
The data.frame with source, value, and target |
A string suitable for putting into sankeymatic to get a diagram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.