View unique occurences and counts of taxa to help identify spelling errors.

count_taxa(x, col = NULL, path = NULL)

Arguments

x

(data frame or character) A data frame or vector of taxa names to be cleaned.

col

(character) A character string specifying the column in x containing taxa names to be cleaned. NOTE: Don't use this argument if x is of character class.

path

(character) A character string specifying the path to taxa_map.csv. This table tracks relationships between your raw and cleaned data and is used by this function.

Value

(data frame) A data frame with taxa and associated counts found in the input, sorted alphabetically by taxa.