taxmap
objectsAdd columns to the obs_data
in taxmap
objects. Any column name that
appears in obs_data(.data)
can be used as if it was a vector on its own. See
mutate
for inspiration and more information.
mutate_obs(.data, ...)
One or more column names to add to the new object. Newly created columns can be referenced in the same function call.
An object of type taxmap
Other dplyr-like functions: arrange_obs
,
arrange_taxa
, filter_obs
,
filter_taxa
, mutate_taxa
,
sample_frac_obs
,
sample_frac_taxa
,
sample_n_obs
, sample_n_taxa
,
select_obs
, select_taxa
,
transmute_obs
, transmute_taxa
# NOT RUN {
# Add one or more observation columns
mutate_obs(unite_ex_data_3, x = 1, y = x+2)
# }
Run the code above in your browser using DataLab