get_validity | R Documentation |
Validate entries of a merged taxonomy
get_validity(x, rank = "family", valid = TRUE)
x |
A tibble created with |
rank |
A string with GBIF rank that will be used to examine a NCBI lineage for validation purposes. Must be kingdom, phylum, class, order or family. Defaults to family. Note: If kingdom is used, the term_conversion() method should first be applied. |
valid |
A logical indicating whether the returned data should include valid or invalid entries (defaults to TRUE). |
Taxonbridge matches NCBI and GBIF data by scientific name. This method will use the GBIF rank
(kingdom, phylum, class, order or family) and search for this rank name in the matched NCBI
lineage. The purpose is to detect scientific names that have different lineage
data in the GBIF and NCBI. If the valid
parameter is set to TRUE, this method will
not only check the rank names, but also ensure that the GBIF taxonRank
column and
NCBI ncbi_rank
column matches.
A validated tibble.
get_validity(load_sample(), valid = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.