check_class_col: Check for name/index in input data

View source: R/old_taxa--taxmap--parsers.R

check_class_colR Documentation

Check for name/index in input data

Description

Used by parse_tax_data and lookup_tax_data to check that columm/class_col is valid for the input data

Usage

check_class_col(tax_data, column)

Arguments

tax_data

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.

column

('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'.


metacoder documentation built on April 4, 2023, 9:08 a.m.