Description Usage Arguments Value References See Also Examples
Plot iHS over a genome.
1 |
data |
A matrix with nsnps rows and 4 columns (Chromosome name, position of the SNP, iHS, Pvalue) (e.g. obtained using |
plot.pval |
Either TRUE or FALSE if Pvalue should not be plotted |
ylim.scan |
An horizontal line is added at the corresponding coordinate, for instance to represent a significance threshold |
pch |
Type of the points representing SNPs in the plot(s) |
main |
Main Legend of the plot |
The function returns a plot
Gautier, M. and Naves, M. (2011). Footprints of selection in the ancestral admixture of a New World Creole cattle breed. Molecular Ecology, 20, 3128–3143.
calc_ehh,scan_hh,distribplot,ihsplot
1 2 3 4 5 | data(wgscan.cgu)
## results from a genome scan (44,057 SNPs)
##see ?wgscan.eut and ?wgscan.cgu for details
res.ihs<-ihh2ihs(wgscan.cgu)
ihsplot(res.ihs$res.ihs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.