getGenus | R Documentation |
The function returns the most recent common ancestor and the number of species belonging to each or some user-specified genera within the phylogenetic tree.
getGenus(tree,genera=NULL)
tree |
a phylogenetic tree. The tree needs not to be ultrametric and fully dichotomous. Generic name and specific epithet must be separated by '_'. |
genera |
a character vector including one or more genera to focus on. Please notice the function is case sensitive. |
The function returns a data-frame including the number of species and the most recent common ancestor of each genera.
Silvia Castiglione, Pasquale Raia, Carmela Serio
DataCetaceans$treecet->tree
getGenus(tree)
getGenus(tree,c("Mesoplodon","Balaenoptera"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.