Description Usage Arguments Details Value See Also
View source: R/make_comparisons.R
Makes multiple comparisons of the relative abundances of taxa between treatment groups using the pairwise.t.test. Data may be transformed by a user supplied function. Three are included in this package.
1 2 3 4 5 6 7 8 9 | make_comparisons(
expt,
taxrank = "Phylum",
grps = "Treatment",
transformation = "none",
pc.filter = 0.01,
p.adjust.method = "BH",
pool.sd = FALSE
)
|
expt |
Experiment level phyloseq object. |
taxrank |
Rank for which to make comparisons. |
grps |
Factor in sample data for which to make comparisons. |
transformation |
Transformation function to use. |
pc.filter |
Minimum percentage of total counts to include rank in result. |
p.adjust.method |
Adjustment method for multiple comparisons. |
pool.sd |
Logical, whether or not to pool standard deviations. |
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.
A data frame with taxa as rows and results in columns.
arc_sine, log_arc_sine, sqrt_arc_sine, check_var
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.