Description Usage Arguments Examples
Function for plotting the results from fold change.
1 2 | plot_fold_change(dataset, fc.results, fc.threshold, plot.log = TRUE,
var = FALSE, xlab = "")
|
dataset |
list representing the dataset from a metabolomics experiment. |
fc.results |
fold change results. |
fc.threshold |
fold change threshold for the p-value. |
plot.log |
boolean value to determine if the fold change values are transformed logarithmically or not. |
var |
boolean value, if TRUE it uses the xlab argument to represent the xlabel of the plot. |
xlab |
string with the x axis description. |
1 2 3 4 5 6 | ## Example of plotting the fold change results
library(specmine.datasets)
data(cachexia)
fc.results = fold_change(cachexia, "Muscle.loss",
"control")
plot_fold_change(cachexia, fc.results, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.