powered by
Estimate \(\beta\)s per population and a bootstrap confidence interval
betas(dat,nboot=0,lim=c(0.025,0.975),diploid=TRUE)
data frame with genetic data and pop identifier
number of bootstrap samples
width of the bootstrap confidence interfal
whether the data comes from a diploid organism
betaiovl Average \(\beta_i\) over loci
ci The bootstrap confidence interval
Hi Within population gene diversities
Hb Between populations gene diversities
Beware, only valid for non inbred diploids!
# NOT RUN { dat<-sim.genot(size=100,N=c(100,1000,10000),nbloc=50,nbal=10) betas(dat,nboot=100)$ci # }
Run the code above in your browser using DataLab