View source: R/otu_data_table.R
otu.data.table | R Documentation |
Extract otu_table from a phyloseq object and turn it into a dat.table
otu.data.table(ps, sample.column.name = "Sample")
ps |
a phyloseq object |
sample.column.name |
the name of the column to keep sample names (because data.table doesn't use row names). Defaults to "Sample". Can set to FALSE to drop sample names. |
data.table
, phyloseq
, otu_table
data(example_phyloseq) otu.DT <- otu.data.table(example_phyloseq) otu.DT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.