plotVolcano {sesame} | R Documentation |
plotVolcano creates a volcano plot of -log2(p.value) and log(estimate) given data with fields estimate and p.value.
plotVolcano(data, title = NA, subtitle = NA, n.fdr = FALSE, alpha = 0.05)
data |
DataFrame where each field is a database name with two fields for the estimate and p.value. |
title |
String representing the title label. Optional. (Default: NA) |
subtitle |
String representing the subtitle label. Optional. (Default: NA) |
n.fdr |
Integer corresponding to the number of comparisons made. Optional. (Default: NA). |
alpha |
Float representing the cut-off alpha value for the plot. Optional. (Default: 0.05) |
ggplot volcano plot
data=data.frame(estimate=c(runif(10)), p.value=c(runif(10))) plotVolcano(data)