Description Usage Arguments Value
This is a volcano plot function
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
data |
the dataframe you would like to display |
x |
the colname of data which you would like to use as x value. |
y |
the colname of data which you would lite to use as y value. |
fill |
the colname of data you would like to draw color(fill color) |
color |
the colname of data you would like to draw color(edge color) |
color_palette |
all colors your would like to use in your figure. |
label |
the lable name you would like to put |
label_data |
A dataframe which you would like to take label |
alpha |
the transparency of points |
plotLab |
the logical value, if you would like to display label text. |
xlab |
the name of x-asix, with the default string of "log2FoldChange". |
ylab |
the name of y-asix, with the default string of "-log10 Padj". |
title |
the name of this figure. default name is "Volcano Plot of genes" |
xline |
the xintercept, default is c(-1,1). |
a volcano plot of ggplot format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.