count_taxa: Get counts of unique taxa

Description Usage Arguments Value

View source: R/count_taxa.R

Description

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

Usage

1
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.


EDIorg/taxonomyCleanr documentation built on Dec. 13, 2021, 7:48 p.m.