This function performs statistical analysis and generates an output data.table
1 2 3 4 5 6 7 8 9 10 | create.stats(
dat,
use.cols,
sample.col,
group.col,
comparisons,
variance.test = "kruskal.test",
pairwise.test = "wilcox.test",
corrections = "fdr"
)
|
dat |
NO DEFAULT. A data.table containing summary data (samples vs features) |
use.cols |
NO DEFAULT. Columns (i.e. features) to use for statistical analysis. |
sample.col |
NO DEFAULT. The column denoting sample names. |
group.col |
NO DEFAULT. The column denoting experimental group names. |
comparisons |
NO DEFAULT. A list of pairwise comparisons between samples. E.g. list(c('Group A', 'Group B'), c('Group B', 'Group C')). |
variance.test |
DEFAULT = 'kruskal.test'. Currently the only option |
pairwise.test |
DEFAULT = 'wilcox.test'. Currently the only option |
corrections |
DEFAULT = 'fdr' (false discovery rate). Currently the only option |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.