powered by
Run Kolmogorov-Smirnov Tests for each row of the data from the dataset.
ksTest_dataset(dataset, metadata.var, threshold = NULL, write.file = FALSE, file.out = "ks.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 Kolmogorov-Smirnov 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) kstests.result = ksTest_dataset(cachexia, "Muscle.loss", write.file = FALSE) # }
Run the code above in your browser using DataLab