Description Usage Arguments Details Value Author(s) Examples
Helper function to extract the genus names from phylogeny tip labels in the case when those labels are scientific names using binomial nomenclature.
1 2 3 4 |
x |
a |
community |
a vector of community labels; if missing, all communities |
This is a simple function that assumes the tip labels of phylogeny
phy
are of the form “genus_species”. It does no checking
whatsoever to check whether this is in fact the case.
For phylo4
, a character vector containing the genus portion of
the tip labels, with element names corresponding to the numeric tip
node ID. For phylo4com
, a list of such vectors, one per
community.
Jim Regetz (regetz@nceas.ucsb.edu)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.