Open bennend opened 1 year ago
I would compare the relative abundance values which hopefully should be the same before and after...Ive seen wonky things like this too in phyloseq where abundances will double or cut in half after some kind of transformation. Not sure why though..could be something to do with unidentified species being counted in after glomming at genera level since these usually make up 50% of microbiome data?
Hi,
I tried to use tax_glom to extract the genus level phyloseq of a complete phyloseq object. And I accidently found that the abundances of the genus after tax_glom were doubled. Would you know why does that happen?
my original phyloseq object
phyloseq_BASIC
is:tax_table of the
phyloseq_BASIC
objects looks like (only showing the first few rows/cols):Before tax_glom, the abundance of g__Escherichia looks like (only showing the first few rows/cols):
After tax_glom, the phyloseq object is
phylum_phyloseq_BASIC
:And the abundance after tax_glom looks like:
Any feedback is appreciated! Thanks!
Best, Ben