phyloseq2df {HTSSIP} | R Documentation |
phyloseq data object conversion to data.frame
Description
Conducts conversion of 1 of the data objects in a phyloseq object (eg., tax_table) to a dataframe
Usage
phyloseq2df(physeq, table_func)
Arguments
physeq |
Phyloseq object |
table_func |
See |
Value
data.frame
Examples
data(physeq_S2D1)
df_otu = phyloseq2df(physeq_S2D1, table_func=phyloseq::otu_table)
head(df_otu)
df_sample = phyloseq2df(physeq_S2D1, table_func=phyloseq::sample_data)
head(df_sample)
[Package HTSSIP version 1.4.1 Index]