negll function

Negative Log Likelihood

Negative Log Likelihood

Calculates negative log likelihood for beta binomial distribution.

negll(x, size, prob, rho)

Arguments

  • x: Depth of alternative allele
  • size: Total depth
  • prob: Theoretical probability for heterozygous is 0.5, for homozygous is 0.999
  • rho: Rho parameter of Beta-Binomial distribution of alternative allele
  • Maintainer: Tao Jiang
  • License: GPL-2
  • Last published: 2018-06-15

Useful links