powered by
Run Kruskal-Wallis Tests for each row of the data from the dataset.
kruskalTest_dataset(dataset, metadata.var, threshold = NULL, write.file = FALSE, file.out = "kruskal.csv")
list representing the dataset from a metabolomics experiment.
metadata variable to use in the t-tests.
threshold value of the p-value.
boolean value to write or not a file with the results.
name of the file.
Table with the results of the Kruskal-Wallis tests, with p-value, -log10(p-value) and false discovery rate (fdr).
# NOT RUN { ## Example of ks-Tests on dataset library(specmine.datasets) data(cachexia) kruskaltests.result = kruskalTest_dataset(cachexia, "Muscle.loss", write.file = FALSE) # }
Run the code above in your browser using DataLab