format_metadata: Format phyloseq metadata for calculating BD range overlaps.

Description Usage Arguments Value Examples

View source: R/BD_shift.R

Description

Format phyloseq metadata for calculating BD range overlaps.

Usage

1
format_metadata(physeq, ex = "Substrate=='12C-Con'", rep = "Replicate")

Arguments

physeq

Phyloseq object

ex

Expression for selecting the control samples to compare to the non-control samples.

rep

Column specifying gradient replicates. If the column is not present, then all are considered "Replicate=1"

Value

a data.frame object of formatted metadata

Examples

1
2
3
4
5
6
## Not run: 
data(physeq_S2D1)
ex = "Substrate=='12C-Con'"
metadata = format_metadata(physeq_S2D1, ex)

## End(Not run)

nick-youngblut/HTSSIP documentation built on May 23, 2019, 4:46 p.m.