phyloseq_to_df: Conversion of 'phyloseq' Object to 'data.frame'

View source: R/phyloseqtodf.R

phyloseq_to_dfR Documentation

Conversion of phyloseq Object to data.frame

Description

phyloseq_to_df() will create a dataframe including OTU abundances, taxonomic classification and metadata extracted from the phyloseq object. This dataframe can be exported as a CSV file for easy viewing.

Usage

phyloseq_to_df(x)

Arguments

x

The phyloseq object.

Value

A data.frame object.

#' @examples library(mirlyn) data(example) example_df <- phyloseq_to_df(example)


escamero/mirlyn documentation built on Aug. 6, 2023, 9:30 p.m.