Description Usage Arguments Value Author(s) Examples
This function makes a vector of locus objects given a frequency array and an estimate of the inbreeding frequency. Given that it is not possible to 'perfectly' make the right distribution of genotypes for all given N & F combinations, this will work to provide as close of an approximation as possible.
1 | make_loci(x, N = 20, F = 0)
|
x |
A |
N |
The number of loci to return (default=20) |
F |
A numeric value for the inbeeding statistic (default=0) |
A vector of locus
objects.
Rodney J. Dyer rjdyer@vcu.edu
1 2 3 | x <- data.frame(Allele=c("A","B"), Frequency=c(0.5,0.5))
make_loci(x)
make_loci(x,F=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.