Learn R Programming

SIPmg (version 3.0)

sample.table: phyloseq-styled sample table

Description

Creates a phyloseq-styled sample table from fractions metadata containing data on fraction number, number of replicates, buoyant density calculated from a refractometer, type of isotope, and DNA concentration of each fraction, and isotope type. See below for information on "fractions" file.

Usage

sample.table(fractions_df)

Value

data frame: phyloseq-style sample table

Arguments

fractions_df

fractions data frame A fractions file with the following columns

  • Replicate: Depends on how many replicates the study has

  • Fractions: Typically in the range of 2-24

  • Buoyant_density: As calculated from the refractometer for each fraction and replicate

  • Isotope: "12C", "13C", "14N", "15N" etc.

  • DNA_concentration

  • Sample: In the format "'isotope'rep#fraction#". For instance, "12C_rep_1_fraction_1"

Examples

Run this code
data(fractions)

# \donttest{

### Making phyloseq table from fractions metadata
samples.object = sample.table(fractions)
# }

Run the code above in your browser using DataLab