Learn R Programming

specmine (version 1.0)

plot_ttests: Plot t-tests results

Description

Function for plotting the results from t-tests.

Usage

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

Run this code
    ## Example of plotting the t-tests results
    data(cachexia)
    ttests.results = tTests_dataset(cachexia, "Muscle.loss")
    plot_ttests(cachexia, ttests.results, 0.05)

Run the code above in your browser using DataLab