genus_to_species | R Documentation |
This alorithm reallocates the counts of taxa, that are only indentified at the genus level to taxa in the same sampling unit and of the same genus but that are identified on the species level. The redistribution of counts is proportional to the number of counts at the species level.
genus_to_species(is_genus, count)
is_genus |
|
count |
|
numeric
vector with updated counts. The counts for the
taxon on the genus level have been set to zero.
Parameters is_genus
and count
are of the same length and
correspond to the same taxon.
The resulting counts are not necessarily integers.
genus_to_species(is_genus = c(TRUE, FALSE, FALSE), count = c(3, 10, 20)) genus_to_species(is_genus = c(TRUE, FALSE, FALSE), count = c(1, 10, 20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.