Description Usage Arguments Value See Also Examples
This function tranforms hclust and phylo objects into tree-and-leaf igraph objects.
1 | treeAndLeaf(obj)
|
obj |
An object of class 'hclust' or 'phylo'. |
A tree-and-leaf igraph object.
1 2 3 4 5 6 7 8 9 10 | library(RedeR)
rdp <- RedPort()
hc <- hclust(dist(USArrests), "ave")
tal <- treeAndLeaf(hc)
## Not run:
calld(rdp)
addGraph(obj=rdp, tal)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.