Learn R Programming

DAPAR (version 1.4.7)

diffAnaVolcanoplot: Volcanoplot of the differential analysis

Description

Plots a volcanoplot after the differential analysis. Typically, the log of Fold Change is represented on the X-axis and the log10 of the p-value is drawn on the Y-axis. When the threshold_pVal and the threshold_logFC are set, two lines are drawn respectively on the y-axis and the X-axis to visually distinguish between differential and non differential data.

Usage

diffAnaVolcanoplot(logFC = NULL, pVal = NULL, threshold_pVal = 1e-60, threshold_logFC = 0, conditions = NULL)

Arguments

logFC
A vector of the log(fold change) values of the differential analysis.
pVal
A vector of the p-value values returned by the differential analysis.
threshold_pVal
A floating number which represents the p-value that separates differential and non-differential data.
threshold_logFC
A floating number which represents the log of the Fold Change that separates differential and non-differential data.
conditions
A list of the names of condition 1 and 2 used for the differential analysis.

Value

A volcanoplot

Examples

Run this code
data(UPSpep25)
condition1 <- '25fmol'
condition2 <- '10fmol'
data <- wrapper.diffAnaLimma(UPSpep25, condition1, condition2)
diffAnaVolcanoplot(data$logFC, data$P.Value)

Run the code above in your browser using DataLab