otu.matrix | R Documentation |
Extract otu_table from a phyloseq object and turn it into a matrix
otu.matrix(ps, force.taxa.cols = TRUE)
ps |
a phyloseq object |
as
, phyloseq
, otu_table
data(example_phyloseq) otu.mat <- otu.matrix(example_phyloseq) View(otu.mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.