Q_proportions: The function Q for the EM algorithm to estimate the...

Description Usage Arguments Author(s)

Description

This function is used by the function EM_proportions. The parameters alpha and beta are assumed to be known. The function negQ_proportions = -Q_proportions can be used for minimization.

Usage

1
Q_proportions(theta, theta.prime, x.non, alpha, beta, cvec)

Arguments

theta

c(p1, p2, ..., pk-1)

theta.prime

c(p1.prime, p2.prime, ..., p(k-1).prime)

x.non

vector of non-synonymous mutation count

cvec

vector of k positive values c(c1, ..., ck)

x.syn

vector of synonymous mutation count

Author(s)

Johanna Bertl


johannabertl/SelectionMix documentation built on May 3, 2019, 4:03 p.m.