AddAlleleFreqHWE: Estimate Allele Frequencies in a RADdata Object Assuming Hardy-Weinberg Equilibrium
Description
Allele frequencies are estimated based on the best parameters available.
object$alleleFreqByTaxa is used if available. If object$alleleFreqByTaxa
is null, GetWeightedMeanGenotypes is used, and if that isn't possible
object$depthRatio is used. From whichever of the three options is used,
column means are taken, the output of which is stored as object$alleleFreq.