qqpval | R Documentation |
This function plots ranked observed p values against the corresponding expected p values in -log scale.
qqpval(p, pch=16, col=4, ...)
p |
a vector of p values |
pch |
symbol to use for points |
col |
color for points |
... |
other plot arguments |
No return value, just the plot
GenomicControl
, WGassociation
data(SNPs)
datSNP<-setupSNP(SNPs,6:40,sep="")
res<-WGassociation(casco,datSNP,model=c("do","re","log-add"))
# observed vs expected p values for recessive model
qqpval(recessive(res))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.