isTreeBased | R Documentation |
This function determines whether a network is tree-based
isTreeBased(net)
net |
A phylogenetic network of class |
A phylogenetic network is said to be tree-based if it can be constructed with a base tree that has additional linking arcs added. See jetten 2016 Corollary 2.11 for the algorithm used to determine whether the network is tree-based
A logical that is TRUE
if the network is tree-based
net<- read.net(text= "((A:7,((B:2,C:2):3)#H1:2::0.6):3,(D:6,#H1:1::0.4):4);")
isTreeBased(net) ##returns TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.