minorAllele function

Compute minor allele frequency