taxmap
taxmap
.
obs_data(obj, row_subset = NULL, col_subset = NULL, calculated_cols = TRUE, sort_by = NULL, decreasing = FALSE, drop = FALSE)
taxmap
)character
)
The obs_ids of a subset of obj
.
Default: All rows.character
)
The names of columns, either user defined or generated using obs_funcs
.
Default: All columns.logical
of length 1)
If TRUE
, return calculated columns using functions in taxmap$obs_funcs
.
These values are calculated each time obs_data
is called since their values can change if
the data is subset.character
of length 1)
The name of a column in obj$obs_data
or a function name in obj$obs_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
data.frame
or vector
with rows corresponding to taxa in input