Description Usage Arguments Details Value Author(s) See Also Examples
Apply selected significance test across rows to grouped columns, with optional q-value calculation.
1 2 3 4 5 6 7 8 9 10 |
x |
a matrix-like object ( |
groups |
a grouping of columns ( |
test |
name of statistical test ( |
qvalue |
perform qvalue calculation? ( |
fdr.level |
false-discovery rate parameter, passed to |
... |
unused |
Complete technical documentation is forthcoming. For the current preliminary release, please refer to the examples provided.
Complete technical documentation is forthcoming. For the current preliminary release, please refer to the examples provided.
Kevin P. Keegan and Daniel T. Braithwaite
stats::t.test
,
stats::wilcox.test
,
stats::kruskal.test
,
stats::anova
1 2 3 4 5 6 7 8 9 | #### Kruskal test applied, for the case of more than two metagenome groups
columns (xx1, "host_common_name")
str (rowstats (xx1, groups="$$host_common_name", test="Kruskal"))
#### force a desired grouping of metagenomes
gg <- columns (xx2, "material") [[1]]
gg
levels (gg) <- levels (gg) [c(1,2,2)]
str (rowstats (xx2, groups=gg, test="t-test-unpaired"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.