data(hypoDat)
example.haplos<-RecodeHaplos(hypoDat,2)
example.newhaplos<-CheckHaplos(example.haplos, 2)
# To get the haplotype counts
example.newhaplos$initGamma
# Result:
# n00 n01 n10 n11
#0.009465535 0.246534465 0.437534465 0.306465535
# The '10' haplotype is the most frequentRun the code above in your browser using DataLab