Records of taxonomically difficult species are more often misidentified.
Tessarolo et al. (2021) weighted records by the class of their
identifier; when that is unknown, as in most GBIF downloads, the
taxonomic complexity of the name is a possible proxy: species with many
synonyms or many subspecies and varieties have been split, lumped and
re-identified more often. taxon_complexity() counts, for each name,
its synonyms and its accepted infraspecific taxa in a taxonomic backbone
(World Flora Online for plants, or any Darwin Core table such as the
GBIF backbone), and turns them into a reliability weight for
record_ignorance().
Usage
taxon_complexity(
names,
backbone,
count = c("synonyms", "infraspecific"),
fuzzy = FALSE
)Arguments
- names
Species names (e.g. the unique values of the species column of the records).
- backbone
A taxonomic backbone in Darwin Core form, with columns
taxonID,scientificName,taxonRank,taxonomicStatus,acceptedNameUsageIDandparentNameUsageID: e.g. the World Flora Online backbone (WorldFlora::WFO.download(), thenWorldFlora::WFO.remember()), or a path to itsclassification.csv.- count
What counts towards complexity:
"synonyms","infraspecific"or both (default).- fuzzy
Match names with
WorldFlora::WFO.match()(needs the WorldFlora package) instead of exactly.
Value
A data.frame with name, matched (the accepted name, NA if
not found), n_synonyms, n_infraspecific and reliability (NA
when the name was not found).
Details
Counts. The name is matched to an accepted taxon of the backbone
(by exact name, or with WorldFlora::WFO.match() when the WorldFlora
package is installed and fuzzy = TRUE; a matched synonym is followed
to its accepted name). n_synonyms is the number of names whose
acceptedNameUsageID is that taxon and whose status is synonym;
n_infraspecific the number of accepted subspecies, varieties and forms
whose parentNameUsageID is that taxon.
Weight. reliability = 1 / (1 + log(1 + n)), with n the sum of
the counts chosen in count: 1 for a name without synonyms or
infraspecific taxa, 0.59 with 1, 0.36 with 5, 0.29 with 10, 0.20 with 50.
This is a preENM default, not a published or validated weighting:
synonymy also reflects how much a group has been studied, not only how
hard it is to identify. Use it as one option and say so.
Status and what to vary. A preENM proposal, not a published or validated weighting (see above): compare the ignorance map with and without these weights.
References
Tessarolo, G., Ladle, R.J., Lobo, J.M., Rangel, T.F., Hortal, J. (2021) Using maps of biogeographical ignorance to reveal the uncertainty in distributional data hidden in species distribution models. Ecography 44, 1743-1755. doi:10.1111/ecog.05793
Kindt, R. (2020) WorldFlora: An R package for exact and fuzzy matching of plant names against the World Flora Online taxonomic backbone data. Applications in Plant Sciences 8, e11388. doi:10.1002/aps3.11388
Examples
bb <- data.frame(
taxonID = c("t1", "t2", "t3", "t4", "t5", "t6"),
scientificName = c("Aus bus", "Aus cus", "Aus bus var. dus",
"Xus bus", "Yus bus", "Aus ecus"),
taxonRank = c("species", "species", "variety", "species", "species",
"species"),
taxonomicStatus = c("Accepted", "Accepted", "Accepted", "Synonym",
"Synonym", "Accepted"),
acceptedNameUsageID = c("", "", "", "t1", "t1", ""),
parentNameUsageID = c("", "", "t1", "", "", ""))
taxon_complexity(c("Aus bus", "Aus cus", "Xus bus"), bb)
#> name matched n_synonyms n_infraspecific reliability
#> 1 Aus bus Aus bus 2 1 0.4190598
#> 2 Aus cus Aus cus 0 0 1.0000000
#> 3 Xus bus Aus bus 2 1 0.4190598
