plot_volcano: plot volcano

View source: R/plot_volcano.R

plot_volcanoR Documentation

plot volcano

Description

plot volcano plot for DESeq2 pariwise compare result

Usage

plot_volcano(
  res,
  fc_thred = 2,
  padj_thred = 0.05,
  size = 1.5,
  alpha = 0.7,
  title = "Volcano of DEGs",
  xlim = NULL,
  ylim = NULL,
  ns_resampling = 1000,
  color = c("#0571b0", "#bababa", "#ca0020")
)

Arguments

res

a data.drame from DESeq2 result

fc_thred

foldchange cutoff, corelated to log2FoldChange column, high value mean less filter

padj_thred

p.adjust cutoff, corelated to padj column, high value mean less filter

size

point size

alpha

point transparency

title

plot title

xlim

two element numeric vector, restrict x axis, default: NULL

ylim

two element numeric vector, restrict y axis, default: NULL

ns_resampling

numeric, downsampling NS points

color

three element character vector, map point color, ordered by down-regulated, ns, up-regulated

Value

ggplot2 object


soulong/bioTools documentation built on Aug. 23, 2023, 1:35 a.m.