Learn R Programming

rehh (version 2.0.4)

ihsplot: Plot iHS over a genome

Description

Plot iHS over a genome.

Usage

ihsplot(ihsdata, plot.pval = TRUE, ylim.scan = 2, pch = 16, cex = 0.5,
            cex.lab = 1.25, main = NA, cex.main = 1.5, cex.axis=1.)

Arguments

ihsdata

A list obtained with the ihh2ihs function.

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)

cex

Size of the points representing SNPs in the plot(s)

cex.lab

Size of axis legends

main

Main Legend of the plot

cex.main

Size of the main legend

cex.axis

Size of the axis annotations

Value

The function returns a plot

References

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.

Voight, B.F. and Kudaravalli, S. and Wen, X. and Pritchard, J.K. (2006). A map of recent positive selection in the human genome. Plos Biology, 4, e72.

See Also

ihh2ihs

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab