plot.WGassociation | R Documentation |
Function to plot -log p values from an object of class 'WGassociation'
## S3 method for class 'WGassociation'
plot(x, ...)
x |
an object of class 'WGassociation' |
... |
other graphical parameters |
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.
No return value, just the plot
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.
association
setupSNP
WGassociation
library(SNPassoc)
data(asthma, package = "SNPassoc")
asthma.s <- setupSNP(data=asthma, colSNPs=7:ncol(asthma), sep="")
ans <- WGassociation(casecontrol, data=asthma.s)
plot(ans)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.