Description Usage Arguments Value Examples
Normalizes allele frequencies such that their sum is 1
1 | normalize.freqs(freqs)
|
freqs |
list of per locus allele frequencies |
list
1 2 3 | data(freqsNLsgmplus)
fr0 <- normalize.freqs(freqsNLsgmplus)
stopifnot(all.equal(sapply(fr0,sum),setNames(rep(1,length(fr0)),names(fr0))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.