Convert an agglomerated dataframe to a phyloseq object.

agglomerated_to_phyloseq(agg, sample_col, otu_col, count_col, sample_metadata,
  tax_ranks)

Arguments

agg

the agglomerated dataframe

sample_col

the name of the sample id column in agg

otu_col

the name of the otu id column in agg

count_col

the unquoted name of the counts column in agg

sample_metadata

unquoted names of sample metadata

tax_ranks

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