Extract sample metadata from an agglomerated dataframe

get_samples(agg, sample_col, ...)

Arguments

agg

agglomerated dataframe

sample_col

unquoted name of the sample id column

...

unquoted names of the taxonomic ranks (i.e. Kingdom:Species)

otu_col

unquoted name of the otu id column

count_col

unquoted name of the count column

Value

the sample metadata, deduplicated