Function plot_volcano draws a plot with p-values and fold logarithm from methylation or expression when we use the t-test.

plot_volcano(data, line = NA, names = NA, ylog = TRUE, ngen = NA,
title = NA, fold_line = NA, values = FALSE)

## Arguments

data Data frame containing result of chosen test from calculate_test function. P-value on which we draw a horizontal line. P-value below which we want to draw genes names. Logical. If TRUE values on y-axis will be logarithmized. Character symbol or vector of gene names to be labeled. Character containing title for plot. Value on which we want to draw a vertical line on both sides of zero. Logical. If TRUE p-values and log fold for chosen gene will be add to a plot. By default we use FALSE.

## Value

An object of class ggplot containing volcano plot of p-values versus log2.fold for each gene.

plot_volcanoes

## Examples

# NOT RUN {
library(MLExpRessoData)
plot_volcano(BRCA_met, values=TRUE)
# }