Convert the OTU table (+ metadata) to a format that can be easily plotted with phyloseq
phyloseq2table(
physeq,
include_sample_data = FALSE,
sample_col_keep = NULL,
include_tax_table = FALSE,
tax_col_keep = NULL,
control_expr = NULL
)data.frame
Phyloseq object
Include sample_table information?
Which columns in the sample_data table to keep?
Use NULL to keep all columns.
Include tax_table information?
A vector for column names to keep.
Use NULL to keep all columns.
An expression for identifying which samples are controls. Control/non-control identification will be in the 'IS_CONTROL' column of the returned data.frame object.