mutate_taxa

0th

Percentile

Add columns to taxmap objects

Add columns to the taxon_data in taxmap objects. Any column name that appears in taxon_data(.data) can be used as if it was a vector on its own. See mutate for inspiration and more information.

Usage
mutate_taxa(.data, ...)
Arguments
.data
taxmap
...
One or more column names to add to the new object. Newly created columns can be referenced in the same function call.
Value

An object of type taxmap

See Also

Other dplyr-like 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, select_taxa, transmute_obs, transmute_taxa

Aliases
  • mutate_taxa
Examples
# Add one or more taxon columns
mutate_taxa(unite_ex_data_3, x = 1, y = x+2)

Documentation reproduced from package metacoder, version 0.1.2, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.