Description Usage Arguments Details Examples
generate qqplot
1 | drawQQplot(pvector, main = "title", ...)
|
pvector |
(numeric) pvalue vector |
main |
(char) title |
... |
for plotting |
from http://www.gettinggeneticsdone.com/2010/07/qq-plots-of-p-values-in-r-using-base.html
1 2 3 4 5 6 7 | drawQQplot(runif(2000),main="random")
# this one has signal
set.seed(42)
pvalues=runif(10000)
pvalues[sample(10000,10)]=pvalues[sample(10000,10)]/5000
drawQQplot(pvalues,"has signal")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.