findfreq | R Documentation |
The findfreq
function finds the allele frequencies of a mixture stored in a simumix object, form a given tabfreq object.
If the tabfreq object contains multiple populations, a reference population from which to extract the
frequencies must be specified.
findfreq(mix, freq, refpop = NULL)
mix |
a |
freq |
a |
refpop |
a factor giving the reference population in |
A list giving the allele frequencies for each locus.
Hinda Haned <h.haned@nfi.minvenj.nl>
simumix
## Not run: data(strusa) s2<-simumix(simugeno(strusa,n=c(0,2000,0)),ncontri=c(0,2,0)) findfreq(s2,strusa,refpop="Cauc") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.