eco.dom_af: Compute allele frequencies for dominant data using different...

Description Usage Arguments Author(s) References Examples

Description

Compute allele frequencies for dominant data using different methods

Usage

1
eco.dom_af(x, method = c("zhivor", "zhivonu", "rawfreq"))

Arguments

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).

Author(s)

Juan Vilardi vilardi@ege.fcen.uba.ar

References

Zhivotovsky, L. A. (1999). Estimating population structure in diploids with multilocus dominant DNA markers. Molecular Ecology, 8:907-913.

Examples

1
2
3
4
5
6
## Not run: 
data(eco.test)
my_ecopop <- ecogen2ecopop(eco, "pop")
eco.dom_af(my_ecopop)

## End(Not run)

EcoGenetics documentation built on July 8, 2020, 5:46 p.m.