Description Usage Arguments Value Examples
Ploting a Manhattan plot showing the (q)p-values for each SNP.
1 2 |
x |
The zscores_qvals object |
ylim |
The y axis range |
xlab |
The x title |
ylab |
The y title |
col |
The colour used for indicating chromosomes |
pch |
The shape of of the data points. |
h |
The cutoff line |
lcol |
The colour of the cutoff line |
... |
passing to other parameters of plot |
Return to a manhattan plot with (q)p-values for each SNP.
1 2 3 4 5 6 7 8 9 10 | ### using Hapmap data
HapmapScan=GenomeAdapt.gds(genfile = SNPRelate::snpgdsExampleFileName(),
method="EIGMIX",num.thread = 1L, autosome.only=TRUE,
remove.monosnp=TRUE, maf=0.01, missing.rate=0.1)
### Not running, it takes a while to finish this
Hapmapqval=zscores_qvals(HapmapScan)
## plot
plotmanhattan(Hapmapqval$pvals$pvals$p.values,col=Hapmapqval$chr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.