plotVolcano {sesame}R Documentation

plotVolcano creates a volcano plot of -log2(p.value) and log(estimate) given data with fields estimate and p.value.

Description

plotVolcano creates a volcano plot of -log2(p.value) and log(estimate) given data with fields estimate and p.value.

Usage

plotVolcano(data, title = NA, subtitle = NA, n.fdr = FALSE, alpha = 0.05)

Arguments

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)

Value

ggplot volcano plot

Examples

data=data.frame(estimate=c(runif(10)), p.value=c(runif(10)))
plotVolcano(data)


[Package sesame version 1.12.5 Index]