Find a node subtending to a clade of desired size
The function sizedsubtree
scans a phylogentic tree to
randomly find nodes subtending to a subtree of desired minimum size, up to
one half of the tree size (number of tips).
sizedsubtree(tree,Size=NULL,time.limit=10)
tree |
a phylogenetic tree. |
Size |
the desired size of the tree subtending to the extracted node. By default, the minimum tree size is set at one tenth of the tree size (i.e. number of tips). |
time.limit |
specifies a limit to the searching time, a warning message is thrown if the limit is reached. |
The argument time.limit
sets the searching time. The
algorithm stops if that limit is reached, avoiding recursive search when no
solution is in fact possible.
A node subtending to a subtree of desired minimum size.
Pasquale Raia, Silvia Castiglione, Carmela Serio, Alessandro Mondanaro, Marina Melchionna, Mirko Di Febbraro, Antonio Profico, Francesco Carotenuto
data("DataOrnithodirans") DataOrnithodirans$treedino->treedino sizedsubtree(tree=treedino,Size=40)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.