plot_kstest: Plot Kolmogorov-Smirnov tests results

Description Usage Arguments Examples

View source: R/univariate.R

Description

Function for plotting the results from Kolmogorov-Smirnov tests.

Usage

1
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

1
2
3
4
5
6
    ## Example of plotting the Kolmogorov-Smirnov tests results
	library(specmine.datasets)
    data(cachexia)
    ks.results = ksTest_dataset(cachexia, "Muscle.loss", 
	write.file = FALSE)
    plot_kstest(cachexia, ks.results, 0.05)

specmine documentation built on Sept. 21, 2021, 5:06 p.m.