Description Usage Arguments Value See Also Examples
Plot the observed distribution of standardized iHS, Rsb or XP-EHH values together with the standard Gaussian distribution.
1 2 3 4 5 6 7 8 9 |
data |
a vector of iHS, Rsb or XPEHH values. |
lty |
line type. |
lwd |
line width. |
col |
a vector describing the colors of the observed and Gaussian distribution, respectively. |
qqplot |
logical. If |
resolution |
affects only qqplot. Rasterize data points to a quadratic grid with the specified resolution and remove duplicate points. Defaults to 0.01. |
... |
further arguments passed to |
The function returns a plot.
ihh2ihs
, ines2rsb
, ies2xpehh
, manhattanplot
.
1 2 3 4 5 6 7 | library(rehh.data)
#results from a genome scan (44,057 SNPs) see ?wgscan.cgu for details
data(wgscan.cgu)
#extract vector with iHS values from data frame
IHS <- ihh2ihs(wgscan.cgu)$ihs[["IHS"]]
distribplot(IHS, main = "iHS (CGU population)")
distribplot(IHS, main = "iHS (CGU population)", qqplot = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.