Learn R Programming

rehh (version 2.0.1)

rsbplot: Plot Rsb over a genome

Description

Plot Rsb over a genome.

Usage

rsbplot(data,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

data
A dataframe obtained using ies2rsb 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

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. Tang, K. and Thornton, K.R. and Stoneking, M. (2007). A New Approach for Using Genome Scans to Detect Recent Positive Selection in the Human Genome. Plos Biology, 7, e171.

See Also

ies2rsb

Examples

Run this code
data(wgscan.cgu) ; data(wgscan.eut) 
## results from a genome scan (44,057 SNPs)
#see ?wgscan.eut and ?wgscan.cgu for details
res.rsb<-ies2rsb(wgscan.cgu,wgscan.eut,"CGU","EUT")
rsbplot(res.rsb)

Run the code above in your browser using DataLab