Learn R Programming

hsrecombi (version 1.0.1)

loglikfun: Calculate log-likelihood function

Description

Calculate log-likelihood function

Value

lik value of log likelihood at parameter estimates

Arguments

counts

integer vector of observed 2-locus genotype

fAA

frequency of maternal haplotype 1-1

fAB

frequency of maternal haplotype 1-0

fBA

frequency of maternal haplotype 0-1

fBB

frequency of maternal haplotype 0-0

theta

paternal recombination rate