getSis {RRphylo} | R Documentation |
Get sister clade
Description
The function identifies and returns the sister clade of a given node/tip.
Usage
getSis(tree,n,printZoom=TRUE)
Arguments
tree |
a phylogenetic tree. The tree needs not to be ultrametric and fully dichotomous. |
n |
number of focal node or name of focal tip. |
printZoom |
if |
Value
The sister node number or sister tip name. In case of polytomies, the function returns a vector.
Author(s)
Pasquale Raia, Silvia Castiglione, Carmela Serio, Alessandro Mondanaro, Marina Melchionna, Mirko Di Febbraro, Antonio Profico, Francesco Carotenuto
Examples
data(DataOrnithodirans)
DataOrnithodirans$treedino->treedino
getSis(tree=treedino,n=677,printZoom=FALSE)
getSis(tree=treedino,n="Shenzhoupterus_chaoyangensis",printZoom=FALSE)
[Package RRphylo version 2.8.0 Index]