Replace a taxon name with another.
replace_taxa(input, output, x = NULL, col = NULL, path = NULL)
A character string specifying an existing taxon name.
A character string specifying a replacement taxon name.
(character vector or data frame) Data containing taxa to be removed.
(character) A character string specifying the column in x containing taxa names to be cleaned. NOTE: Don't use this argument if x is a vector of character strings.
(character) A character string specifying the path to taxa_map.csv.
1. An updated version of taxa_map.csv with removed taxa names.
2. A data frame of taxa_map.csv with removed taxa names, if the path argument is supplied.