Learn R Programming

specmine (version 3.0.2)

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
# NOT RUN {
    ## 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