.knownqpcr_loglike_duo {freqpcr} | R Documentation |
Log-likelihood of getting Cq values when exact allele mixing ratios are known, lacking the quartet structure.
Description
Internal function to return the log-likelihood getting the four Cq measurements under true allele frequency for each bulk sample is known. This is a variant for the 'duo' structure dataset and baseChange
is absent. obs.housek0
and obs.target0
are defined for the parity of source code, but they actually accept no data.
Usage
.knownqpcr_loglike_duo(X, A, trueY, Digest, Gene, Cq)
Arguments
X |
A numeric vector that stores the current parameter sizes of |
A |
Optionally, you can specify relative DNA content between the samples, as a numeric vector having the same length as the Cq data. If present, |
trueY |
A numeric vector having the same length as the Cq data. |
Value
A scalar of the log likelihood.