MixBetaBinomialFitStep: MixBetaBinomialFitStep

Description Usage Arguments Value

View source: R/MixBetaBinomialFitStep.R

Description

One step of fitting beta-binomial mixture distribution of AI in particular bin.

Usage

1
MixBetaBinomialFitStep(initials_old, coverage, observations)

Arguments

initials_old

Initials for EM step: initials = c(w1, alpha1, alpha2), weight of first component and alphas for both beta-binomial distributions in a mixture

coverage

A number, that represents the coverage bin

observations

A vector of "maternal counts" in the bin

Value

Re-fitted initials for next EM step.


gimelbrantlab/QCumber documentation built on Feb. 26, 2020, 6:17 p.m.