
Plot the observed distribution of standardized iHS, Rsb or XP-EHH values together with the expected standard Gaussian distribution
distribplot(data, lty = 1, lwd = 1.5,col = c("blue", "red"),
main = "Genome-wide distribution", xlab = "", cex.main = 1.5,
cex.lab = 1.25, qqplot = TRUE)
A vector of iHS, Rsb or XPEHH values.
A vector describing color of the Observed and expected Gaussian distribution
Character string for the plot legend
Character string for the X-axis legend
Size of axis legends
Size of the main legend
Line Type
Line Width
If TRUE a qq-plot is drawn
The function returns a plot.
scan_hh,ihh2ihs,ies2rsb,ihsplot,rsbplot,ies2xpehh,xpehhplot
# NOT RUN {
data(wgscan.cgu)
## results from a genome scan (44,057 SNPs) see ?wgscan.eut for details
val.ihs<-ihh2ihs(wgscan.cgu)$iHS[,3]
##standardize
distribplot(val.ihs,main="iHS (CGU population)")
dev.off()
# }
Run the code above in your browser using DataLab