pgen and pgen_Fis compute the probability of a genotype
under the Hardy-Weinberg equilibrium assumption (with or without taking account
of departures from H-W equilibrium).
logical, option, haploid indicates the ploidy level of data1.
Not edible for pgen_Fis.
vecpop
vector, option, vecpop indicates the population name of each unit
of data1, if data1 contains several populations.
If data1 contains only one population, leave vecpop = NULL.
genet
option, if genet = TRUE, computes pgen on genet level.
RR
option, if RR = TRUE, computes pgen with Round-Robin method.
Value
a table (one population) or a list of tables (several populations) with pgen
computed for each genotype.
References
Arnaud-Haond et al., 2007, Standardizing methods to address clonality in
population studies.