Description Usage Arguments Value Examples
Fold change applied on two variables. Instead of having the difference of the variables on two groups, we have the difference of the groups on two variables.
1 2 3 | fold_change_var(dataset, metadata.var, variables,
threshold.min.fc = NULL, write.file = FALSE,
file.out = "fold_change_reverse.csv")
|
dataset |
list representing the dataset from a metabolomics experiment. |
metadata.var |
metadata to use to calculate the fold change. |
variables |
vector with two positions containing the name of the variables. |
threshold.min.fc |
minimum threshold of the fold change value. |
write.file |
boolean value to write or not a file with the results. |
file.out |
name of the file. |
Table of results with fold change and log2 of fold change.
1 2 3 4 5 | ## Example of fold change reverse
library(specmine.datasets)
data(cachexia)
fold.change.results = fold_change_var(cachexia, "Muscle.loss",
c("Creatine", "Serine"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.