PerformUnivarTest | R Documentation |
This functions performs classical univariate analysis on the normalized microbiome data.
PerformUnivarTest(mbSetObj, variable, p.lvl, shotgunid, taxrank, statOpt)
mbSetObj |
Input the name of the mbSetObj. |
variable |
Character, input the name of the experimental factor. |
p.lvl |
Numeric, input the adjusted p-value cutoff. |
shotgunid |
If 16S, it is set to "NA". |
taxrank |
Character, input the taxonomic level to perform univariate analysis. |
statOpt |
Character, input "nonpar" to use non-paramentric tests including Mann-Whitney for two-group comparisons or Kruskall-Wallis for multiple group comparisons. Input "tt" to use parametric tests including T-tests for two-group comparisons and ANOVA for multiple group comparisons. |
datatype |
Character, input whether the data is marker gene data ("16S") or metagenomic data ("metageno"). |
Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.