Description Usage Arguments Value Examples
Run t-Tests for each row of the data from the dataset.
1 2 | tTests_dataset(dataset, metadata.var, threshold = NULL,
write.file = FALSE, file.out = "ttests.csv")
|
dataset |
list representing the dataset from a metabolomics experiment. |
metadata.var |
metadata variable to use in the t-tests. |
threshold |
threshold value of the p-value. |
write.file |
boolean value to write or not a file with the results. |
file.out |
name of the file. |
Table with the results of the t-tests, with p-value, -log10(p-value) and false discovery rate (fdr).
1 2 3 4 5 | ## Example of t-Tests on dataset
library(specmine.datasets)
data(cachexia)
ttests.result = tTests_dataset(cachexia, "Muscle.loss",
write.file = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.