View source: R/sample_data_table.R
sample.data.table | R Documentation |
Extract sample_data from a phyloseq object and turn it into a data.table
sample.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
, sample_data
data(example_phyloseq) smpl.DT <- sample.data.table(example_phyloseq) smpl.DT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.