ps_to_df: Combine phyloseq OTU-table (otu_table) and metadata...

Description Usage Arguments Value See Also Examples

View source: R/ps_to_df.R

Description

Combine phyloseq OTU-table (otu_table) and metadata (sample_data) into one dataframe.

Usage

1
ps_to_df(ps, sample_name = "sample_id")

Arguments

ps

phyloseq-object

sample_name

name of the column containing samples (default: 'sample_id')

Value

A dataframe with OTU-data and metadata contained in phyloseq.

See Also

meta_to_df otu_tab_to_df

Examples

1
2

wsteenhu/microbiomer documentation built on March 11, 2021, 6:05 p.m.