group_test | R Documentation |
Performs multiple mean comparisons for a data.frame
group_test(
df,
group,
metadata = NULL,
method = "wilcox.test",
threads = 1,
p.adjust.method = "BH",
verbose = TRUE
)
df |
a data.frame |
group |
The compare group (categories) in your data, one column name of metadata when metadata exist or a vector whose length equal to columns number of df. |
metadata |
sample information dataframe contains group |
method |
the type of test. Default is wilcox.test. Allowed values include:
|
threads |
default 1 |
p.adjust.method |
p.adjust.method, see |
verbose |
logical |
data.frame
data(otutab)
group_test(otutab, metadata$Group, method = "kruskal.test")
group_test(otutab[, 1:12], metadata$Group[1:12], method = "wilcox.test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.