Description Usage Arguments Value Examples
Perform analysis of variance of all variables in the dataset.
1 2 | aov_all_vars(dataset, column.class, doTukey = TRUE, write.file = FALSE,
file.out = "anova-res.csv")
|
dataset |
list representing the dataset from a metabolomics experiment. |
column.class |
string or index indicating what metadata to use. |
doTukey |
boolean value for do or do not TukeyHSD. |
write.file |
boolean value indicating if a file with the results is written or not. |
file.out |
name of the file if write.file is TRUE. |
Data frame with the results of ANOVA, with p-value, logarithm of p-value, false discovery rate (fdr) and tukey is doTukey is TRUE. The result is ordered by p-value.
1 2 3 4 5 6 7 | ## Example of ANOVA with TukeyHSD
library(specmine.datasets)
data(propolis)
propolis_proc = missingvalues_imputation(propolis)
propolis_proc = flat_pattern_filter(propolis_proc, "iqr", by.percent = TRUE,
red.value = 75)
result = aov_all_vars(propolis_proc, "seasons", doTukey = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.