plot_ttests: Plot t-tests results

Description Usage Arguments Examples

View source: R/univariate.R

Description

Function for plotting the results from t-tests.

Usage

1
plot_ttests(dataset, tt.results, tt.threshold = 0.01)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

tt.results

t-tests results.

tt.threshold

t-test threshold for the p-value.

Examples

1
2
3
4
5
    ## Example of plotting the t-tests results
	library(specmine.datasets)
    data(cachexia)
    ttests.results = tTests_dataset(cachexia, "Muscle.loss")
    plot_ttests(cachexia, ttests.results, 0.05)

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