format_metadata {HTSSIP}R Documentation

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

## Not run: 
data(physeq_S2D1)
ex = "Substrate=='12C-Con'"
metadata = HTSSIP:::format_metadata(physeq_S2D1, ex)

## End(Not run)


[Package HTSSIP version 1.4.1 Index]