Learn R Programming

specmine (version 1.0)

plot_kstest: Plot Kolmogorov-Smirnov tests results

Description

Function for plotting the results from Kolmogorov-Smirnov tests.

Usage

plot_kstest(dataset, ks.results, ks.threshold = 0.01)

Arguments

dataset
list representing the dataset from a metabolomics experiment.
ks.results
Kolmogorov-Smirnov tests results.
ks.threshold
Kolmogorov-Smirnov test threshold for the p-value.

Examples

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

Run the code above in your browser using DataLab