meta: Retrieve Phyloseq Metadata as Data Frame

View source: R/meta.R

metaR Documentation

Retrieve Phyloseq Metadata as Data Frame

Description

The output of the phyloseq::sample_data() function does not return data.frame, which is needed for many applications. This function retrieves the sample data as a data.frame

Usage

meta(x)

Arguments

x

a phyloseq object

Value

Sample metadata as a data.frame

Author(s)

Leo Lahti leo.lahti@iki.fi

See Also

sample_data in the phyloseq package

Examples

data(dietswap); df <- meta(dietswap)

microbiome/microbiome documentation built on Aug. 22, 2023, 7:12 a.m.