hap.em(id, data, locus.label=NA, converge.eps=1e-06, maxiter=500)Zhao JH and W Qian (2003) Association analysis of unrelated individuals using polymorphic genetic markers. RSS 2003, Hassalt, Belgium
hap, kbyldata(hla)
hap.em(id=1:length(hla[,1]),data=hla[,3:8])Run the code above in your browser using DataLab