Description Usage Arguments Value See Also Examples
Applies formatting patterns to an igraph object according to predefined themes. This formatting is used for plotting on the RedeR app interface.
| 1 | formatTree(gg, theme = 1, cleanalias = FALSE)
 | 
| gg | An igraph object generated by either  | 
| theme | An integer ranging from 1 to 5 with desired theme.  | 
| cleanalias | A logical that removes the node aliases when set to TRUE (default = FALSE) <logical>. | 
An igraph object with standard formatting for RedeR application.
| 1 2 3 4 5 | hc <- hclust(dist(USArrests), "ave")
gg <- hclust2igraph(hc)
gg <- formatTree(gg = gg,
                 theme = 5)
         
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.