Skip to contents

This function cleans a vector of taxa using Taxize.

Usage

Clean_Taxa_Taxize(Taxons, WriteFile = F)

Arguments

Taxons

Vector of taxa to be cleaned.

WriteFile

logical if False (default) only returns a data frame, if TRUE will generate a folder (Results in the Working directory with a csv of the results)

Value

A data frame with the cleaned taxa and their scores.

References

Chamberlain, Scott T., et al. "Taxize: an R package for taxonomic lookup and manipulation." Methods in Ecology and Evolution 6.12 (2015): 1451-1456.

Examples

Clean_Taxa_Taxize(Taxons = c("Canis lupus", "C. lupus"))
#> Joining with `by = join_by(Taxa)`
#> # A tibble: 1 × 4
#>   Taxa        score matched_name2 TaxaID
#>   <chr>       <dbl> <chr>          <int>
#> 1 Canis lupus 0.988 Canis lupus        1