Learn R Programming

specmine (version 1.0)

plot_kruskaltest: Plot Kruskal-Wallis tests results

Description

Function for plotting the results from Kruskal-Wallis tests.

Usage

plot_kruskaltest(dataset, kr.results, kr.threshold = 0.01)

Arguments

dataset
list representing the dataset from a metabolomics experiment.
kr.results
Kruskal-Wallis tests results.
kr.threshold
Kruskal-Wallis test threshold for the p-value.

Examples

Run this code
    ## Example of plotting the Kolmogorov-Smirnov tests results
    data(cachexia)
    kr.results = kruskalTest_dataset(cachexia, "Muscle.loss", 
	write.file = FALSE)
    plot_kruskaltest(cachexia, kr.results, 0.05)

Run the code above in your browser using DataLab