taxmapReturn a table of data associated with taxa of and object of type
taxmap.
taxon_data(obj, row_subset = NULL, col_subset = NULL,
calculated_cols = TRUE, sort_by = NULL, decreasing = FALSE,
drop = FALSE)(taxmap)
(character)
The taxon_ids of a subset of obj.
Default: All rows.
(character)
The names of columns, either user defined or generated using taxon_funcs.
Default: All columns.
(logical of length 1)
If TRUE, return calculated columns using functions in taxmap$taxon_funcs.
These values are calculated each time taxon_data is called since their values can change if
the data is subset.
(character of length 1)
The name of a column in obj$taxon_data or a function name in obj$taxon_funcs.
This column will be used to sort the output rows.
If NULL, no sorting will be done.
(logical of length 1)
If TRUE, sort_by order is decreasing.
(logical of length 1)
If TRUE, if subset is a single column
name, then a vector is returned instead of a data.frame
A data.frame or vector with rows corresponding to taxa in input