powered by
Format phyloseq metadata for calculating BD range overlaps.
format_metadata(physeq, ex = "Substrate=='12C-Con'", rep = "Replicate")
Phyloseq object
Expression for selecting the control samples to compare to the non-control samples.
Column specifying gradient replicates. If the column is not present, then all are considered "Replicate=1"
a data.frame object of formatted metadata
# 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