Skip to content
Prev 5086 / 7420 Next

How to calculate relative abundance along taxonomical hierarchy

The tax_table accessor function will give you the taxonomic ranks in a
table according to this website:
https://web.stanford.edu/class/bios221/labs/phyloseq/lab_phyloseq.html
 otu_table will give you the data matrix with OTUs as *rows*. So you need
to transpose or adjust the code I suggested before.

Peter

Gian Maria Niccol? Benucci <gian.benucci at gmail.com> ezt ?rta (2015. j?nius
25., cs?t?rt?k):