haplo.em(geno, locus.label=NA, miss.val=c(0, NA), weight, control=
haplo.em.control())
setupGeno
,
haplo.em.control
data(hla.demo)
attach(hla.demo)
geno <- hla.demo[,c(17,18,21:24)]
label <-c("DQB","DRB","B")
keep <- !apply(is.na(geno) | geno==0, 1, any)
save.em.keep <- haplo.em(geno=geno[keep,], locus.label=label)
# warning: output will not exactly match
print.haplo.em(save.em.keep)
Run the code above in your browser using DataLab