transmute_obs

0th

Percentile

Replace columns in taxmap() objects

Replace columns of tables in obj$data in taxmap() objects. See dplyr::transmute() for the inspiration for this function and more information.

obj$transmute_obs(target, ...)
transmute_obs(obj, target, ...)

Arguments
obj

An object of type taxmap()

target

The name of the table in obj$data to filter

...

One or more named columns to add. Newly created columns can be referenced in the same function call. Any variable name that appears in all_names() can be used as if it was a vector on its own.

Value

An object of type taxmap()

See Also

Other taxmap manipulation functions: arrange_obs, arrange_taxa, filter_obs, filter_taxa, mutate_obs, sample_frac_obs, sample_frac_taxa, sample_n_obs, sample_n_taxa, select_obs

Aliases
  • transmute_obs
Examples
# NOT RUN {
transmute_obs(ex_taxmap, "info", new_col = paste0(name, "!!!"))

# }
Documentation reproduced from package taxa, version 0.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.