distribplot: Distribution of standardized iHS or Rsb values

Description Usage Arguments Value See Also Examples

Description

Plot the observed distribution of standardized iHS or Rsb values together with the expected standard Gaussian distribution

Usage

1
2
distribplot(data,col=c("blue","red"),
main="iHS distribution",xlab="iHS")

Arguments

data

A vector of iHS or Rsb values.

col

A vector describing color of the Observed and expected Gaussian distribution

main

Character string for the plot legend

xlab

Character string for the X-axis legend

Value

The function returns a plot.

See Also

scan_hh,ihh2ihs,ies2rsb,ihsplot,rsbplot

Examples

1
2
3
4
5
6
data(wgscan.cgu) 
## results from a genome scan (44,057 SNPs) see ?wgscan.eut for details
val.ihs<-ihh2ihs(wgscan.cgu)$res.ihs[,3]
##standardize
distribplot(val.ihs,main="iHS (CGU population)")
dev.off()

theboocock/rehh documentation built on May 31, 2019, 9:11 a.m.