Used by parse_tax_data and lookup_tax_data to check that columm/class_col is valid for the input data
check_class_col(tax_data, column)
A table, list, or vector that contain sequence IDs, taxon IDs, or taxon names.
tables: The column
option must be used to specify which column
contains the sequence IDs, taxon IDs, or taxon names.
lists: There must be only one item per list entry unless the column
option is used to specify what item to use in each list entry.
vectors: simply a vector of sequence IDs, taxon IDs, or taxon names.
(character
or integer
) The name or index of the column that
contains information used to lookup classifications. This only applies when
a table or list is supplied to tax_data
.