fres$loci to freqs