Description Usage Arguments Value Examples
This calculates mean heterozygosity and Fst values for each bin used in bootstrapping.
1 |
actual.fsts |
The first item in the output lists from fst.boot. |
boot.out |
The output from a bootstrapping run. Either supply this or boot.means. |
boot.means |
The output from fst.boot.means. Either supply this or bootstrapping output. |
pvals |
A numeric containing uncorrected p-values for each locus. The names attribute are the locus names. |
1 2 3 4 5 6 7 8 9 |
## Not run:
gfile<-system.file("extdata", "example.genepop.txt",package = 'fsthet')
gpop<-my.read.genepop(gfile)
fsts<-calc.actual.fst(gpop)
boot.out<-as.data.frame(t(replicate(10, fst.boot(gpop))))
boot.pvals<-p.boot(fsts,boot.out=boot.out)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.