comp_prepare_otu_table: Prepare OTU Table

Description Usage Arguments Details Value

View source: R/comp_prepare_otu_table.R

Description

Make OTU tables for making comparisons of relative abundances among treatments.

Usage

1
2
3
4
5
comp_prepare_otu_table(
  expt.taxon.pc,
  grps = "Treatment",
  transformation = "sqrt_arc_sine"
)

Arguments

expt.taxon.pc

Phyloseq object from comp_prepare_phyloseq with percentages in the otu_table.

grps

Factor in sample data for which to make comparisons.

transformation

Transformation function to use.

Details

transformation may be "none" or a user-supplied function name in quotation marks or any of the built-it transformations("arc_sine", "log_arc_sine", or "sqrt_arc_sine"). The +sqrt_arc_sine" has generaally proven most effective.

Value

A list consisting of an OTU table with percentages, an OTU table with transformed data, and a vector of treatment groups.


jfq3/QsRutils documentation built on Jan. 18, 2021, 12:40 a.m.