Learn R Programming

RestoreNet (version 1.0.1)

ny_u: Conditional negative log-likelihood

Description

Conditional negative log-likelihood \(-l(y \vert u)\) of y given the random effects u

Usage

ny_u(theta, Z, X, y, V, VCNs, nObs)

Value

Conditional negative log-likelihood \(-l(y \vert u)\) of y given the random effects u.

Arguments

theta

p-dimensional vector parameter.

Z

A\(n \times Jp\) dimensional block-diagonal design matrix.

X

A \(n \times K\) dimensional (design) matrix. Each j-th block (\(j = 1,\dots,J\)) is a \(n_j \times p\) dimensional design matrix for the j-th clone.

y

n-dimensional vector of the time-adjacent cellular increments

V

A \(p \times K\) dimensional net-effect matrix.

VCNs

A n-dimensional vector including values of the vector copy number corresponding to the cell counts of y.

nObs

A K-dimensional vector including the frequencies of each clone k (\(k = 1,\dots,K\)).