Parse the other_cols option used in many calculation functions.
get_taxmap_other_cols(obj, data, cols, other_cols = NULL)
A taxmap object
The name of a table in obj
that contains counts.
The names/indexes of columns in data
to use. Takes one
of the following inputs:
All columns will used.
Use the columns
corresponding to TRUE
values.
The names of columns to use
The indexes of columns to use
Preserve in the output non-target columns present in the input data. The "taxon_id" column will always be preserved. Takes one of the following inputs:
All non-target columns will be preserved or not.
Preserve the columns
corresponding to TRUE
values.
The names of columns to preserve
The indexes of columns to preserve
Other option parsers:
get_taxmap_cols()
,
get_taxmap_data()
,
get_taxmap_table()
,
verify_taxmap()