Learn R Programming

HTSSIP (version 1.4.1)

format_metadata: Format phyloseq metadata for calculating BD range overlaps.

Description

Format phyloseq metadata for calculating BD range overlaps.

Usage

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

Run this code
# NOT RUN {
data(physeq_S2D1)
ex = "Substrate=='12C-Con'"
metadata = HTSSIP:::format_metadata(physeq_S2D1, ex)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab