Plot fold change results

Share:

Description

Function for plotting the results from fold change.

Usage

1
2
plot_fold_change(dataset, fc.results, fc.threshold, plot.log = T, 
var = F, xlab = "")

Arguments

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.

Examples

1
2
3
4
5
    ## Example of plotting the fold change results
    data(cachexia)
    fc.results = fold_change(cachexia, "Muscle.loss", 
			"control")
    plot_fold_change(cachexia, fc.results, 2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.