Description Usage Arguments Author(s) References Examples
Compute allele frequencies for dominant data using different methods
1 | eco.dom_af(x, method = c("zhivor", "zhivonu", "rawfreq"))
|
x |
ecopop or genpop object, or matrix/data.frame with allele frequencies |
method |
Method used to compute the allelic frequencies. Can be one of 'zhivor' ( Zhivotovsky 1999, with uniform prior), 'zhivonu' (Zhivotovsky 1999, with non uniform prior), 'rawfreq' (square root method). |
Juan Vilardi vilardi@ege.fcen.uba.ar
Zhivotovsky, L. A. (1999). Estimating population structure in diploids with multilocus dominant DNA markers. Molecular Ecology, 8:907-913.
1 2 3 4 5 6 | ## Not run:
data(eco.test)
my_ecopop <- ecogen2ecopop(eco, "pop")
eco.dom_af(my_ecopop)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.