plot.WGassociation {SNPassoc} | R Documentation |
Function to plot -log p values from an object of class 'WGassociation'
Description
Function to plot -log p values from an object of class 'WGassociation'
Usage
## S3 method for class 'WGassociation'
plot(x, ...)
Arguments
x |
an object of class 'WGassociation' |
... |
other graphical parameters |
Details
A panel with different plots (one for each mode of inheritance) are plotted. Each of them represents the -log(p value) for each SNP. Two horizontal lines are also plotted. One one them indicates the nominal statistical significance level whereas the other one indicates the statistical significance level after Bonferroni correction.
Value
No return value, just the plot
References
JR Gonzalez, L Armengol, X Sole, E Guino, JM Mercader, X Estivill, V Moreno. SNPassoc: an R package to perform whole genome association studies. Bioinformatics, 2007;23(5):654-5.
See Also
association
setupSNP
WGassociation
Examples
library(SNPassoc)
data(asthma, package = "SNPassoc")
asthma.s <- setupSNP(data=asthma, colSNPs=7:ncol(asthma), sep="")
ans <- WGassociation(casecontrol, data=asthma.s)
plot(ans)
[Package SNPassoc version 2.1-0 Index]