draw_volcano: draw a volcano plot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plots.R

Description

print a volcano plot for Differential analysis result in data.frame fomat.

Usage

1
2
draw_volcano(deg, pvalue_cutoff = 0.05, logFC_cutoff = 1, pkg = 1,
  adjust = F)

Arguments

deg

a data.frame created by Differential analysis

pvalue_cutoff

Cutoff value of pvalue,0.05 by defult.

logFC_cutoff

Cutoff value of logFC,1 by defult.

pkg

a integer ,means which Differential analysis packages you used,we support three packages by now, 1,2,3,4 respectively means "DESeq2","edgeR","limma(voom)","limma"

adjust

a logical value, would you like to use adjusted pvalue to draw this plot,FAlSE by defult.

Value

a volcano plot according to logFC and P.value(or adjust P.value)

Author(s)

Xiaojie Sun

See Also

draw_heatmap;draw_pca;draw_venn

Examples

1
2
3
4
data("des")
head(deseq_data)
draw_volcano(deseq_data)
draw_volcano(deseq_data,pvalue_cutoff = 0.01,logFC_cutoff = 2)

xjsun1221/bioinfor documentation built on March 5, 2020, 12:50 a.m.