Haplotype frequency estimation based on a genotype table of two multiallelic markers
Source:R/2ld.R
klem.RdHaplotype frequency estimation using expectation-maximization algorithm based on a table of genotypes of two multiallelic markers.
Value
The returned value is a list containing:
h haplotype Frequencies.
l0 log-likelihood under linkage equilibrium.
l1 log-likelihood under linkage disequilibrium.
Examples
if (FALSE) { # \dontrun{
# an example with known genotype counts
z <- klem(obs=1:9)
# an example with imputed genotypes at SH2B1
source(file.path(find.package("gap"),"scripts","SH2B1.R"),echo=TRUE)
} # }