recodeBi(datafile, major.alleles)
popgen
provides a quick way to obtain allele frequencies in order to determine which alleles are the most frequent, within populations or overall.
To transform multiple files, use batchrecodeBi
instead. Some .arp files might not be imported correctly depending on which software was used to generate them. If this is the case, start from the Genepop file and convert it first with convert
.batchrecodeBi
, convert
, popgen