Description Usage Arguments Value See Also Examples
This function sets attributes of a tree-and-leaf igraph object for plotting in the RedeR app interface.
1 | formatTree(tal, theme = 1)
|
tal |
An igraph object generated by the |
theme |
An integer ranging from 1 to 5 with desired theme. |
An igraph object with attributes for RedeR application.
1 2 3 4 | library(RedeR)
hc <- hclust(dist(USArrests), "ave")
tal <- treeAndLeaf(hc)
tal <- formatTree(tal, theme = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.