Description Usage Arguments Value
Compute p-values and multiple comparisons adjusted q-values for two-group comparisons using PERMANOVA on beta diversity metrics across multiple timepoints.
1 2 3 4 | compare_beta_diversity(phylo, x = as.character(),
group = as.character(), test = c("adonis", "anosim"),
bdiv = c("weighted", "unweighted"), write = F,
filename = "results", fdr = T, fdr_test = "fdr", seed = 918, ...)
|
phylo |
A phyloseq object |
x |
The variable that describes Time |
group |
The variable that describes 2 or more groups |
test |
The PERMANOVA test to use. |
bdiv |
Beta diversity metric to calculate significance. |
write |
Should results be written to a file in the current working directory. |
filename |
The name of the output file if write is TRUE. |
fdr |
Should FDR correction be applied. |
fdr_test |
The test to use to correct for multiple comparisons. Default is FDR. |
seed |
The seed number to use when calculating beta diversity metrics. Default is 918. |
... |
Any additional arguments for external functions. |
A dataframe for an PERMANOVA test over each timepoint from each two group comparison.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.