Description Usage Arguments Examples
volcano plot
1 2 3 |
foldchange |
- fold change values |
pvals |
pvalues |
pthresh |
pvalue threshold |
foldchangethresh |
threshold of foldchange |
xlab |
- x axis label |
ylab |
- y axis label |
labels |
- optional labels |
cex |
size of labels |
cex.point |
- point size |
xlim |
- xlim |
main |
- main title |
biasAdjust |
- if bias in foldchanges exists (i.e. if median of fold changes does not equal 0) you can use this option to adjust for it. |
1 2 3 4 5 6 7 8 9 10 11 | library(quantable)
foldchange <- rnorm(1000)
pvals <-rexp(1000)
length(foldchange)
length(pvals)
volcanoplot(foldchange, pvals, pthresh=0.1, foldchangethresh=1,main='test')
volcanoplot(foldchange, pvals, pthresh=0.1,
foldchangethresh=1,main='test', labels=rep("abcde", length(pvals)))
volcanoplot(foldchange, pvals,pthresh=0.1, foldchangethresh=3,main='test')
abline(v=0.05,col=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.