treeOfBlobs | R Documentation |
Given extended newick, an evonet object, or an igraph object for a network, return its reduced, unrooted tree of blobs. Here 'reduced' means all nodes resulting from 2-blobs are suppressed, as are edges above the network's LSA.
treeOfBlobs(net, plot = FALSE)
net |
A network, supplied as an extended Newick string, an evonet object, or an igraph object |
plot |
if TRUE (default), plot the tree of blobs. |
An object of class phylo
containing the unrooted topological tree
derived from the network by contracting all blobs. All edge lengths are 1.
TINNIK
network = "(((a:1,d:1):1,(b:1)#H1:1):1,(#H1,c:1):2);"
plot(read.evonet(text=network))
treeOfBlobs(network, plot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.