View source: R/convertLabels.R
convertLabels | R Documentation |
This function takes a phylo, multiPhylo, a lits, or a character vector and changes names based on a supplied dataframe
convertLabels(to_convert, name_df, from, to)
to_convert |
R object containing taxon labels to be replaced. Options include:
|
name_df |
Dataframe with name equivalencies |
from |
Column name with all current taxon tip IDs (if missing, first column of name_df used as default) |
to |
Column name with desired IDs (if missing, second column of name_df used as default) |
Matching object with new names in place
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.