Description Usage Arguments Value Author(s) Examples
View source: R/fishbase_name_species_bold.R
Add a column named "fishbase_species_names" to a curated BOLD specimen dataframe. This column gives the species name used to identify the specimen into fishbase. If the specimen BOLD species name is not found into fishbase, then a NA value is attributed.
1 | prparedResBold.fishbaseValid <- fishbase_name_species_bold(prparedResBold)
|
prparedResBold |
A curated dataframe generated by
|
A dataframe with a supplementary column "fishbase_name_species". This column is a list of strings. It gives synonyms of species names used by fishbase to describe a BOLD specimen. If the specimen BOLD species name is not found into fishbase, then a NA value is attributed.
Pierre-Edouard GUERIN, Stephanie MANEL
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## load BOLD specimen and sequence data with matching taxa "Pomacanthidae"
data(requestPomacanthidaeBOLD)
## filter and mutate
prparedResBold <- prepare_bold_res(resBold,
marker_code="COI-5P",
species_names=TRUE,
coordinates=TRUE,
ambiguities=TRUE,
min_length=420,
max_length=720
)
## validate species names
prparedResBold.fishbaseValid <- fishbase_name_species_bold(prparedResBold)
## display BOLD specimen fishbase species names
print(prparedResBold.fishbaseValid$fishbase_species_name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.