Add columns to tables in obj$data
in taxmap()
objects. See dplyr::mutate()
for the inspiration for
this function and more information. Calling the function using the
obj$mutate_obs(...)
style edits "obj" in place, unlike most R
functions. However, calling the function using the mutate_obs(obj, ...)
imitates R's traditional copy-on-modify semantics, so "obj" would not be
changed; instead a changed version would be returned, like most R functions.
obj$mutate_obs(target, ...)
mutate_obs(obj, target, ...)