View source: R/srcImpulseDE2_CostFunctionsFit.R
evalLogLikMu | R Documentation |
Log likelihood cost function for numerical optimisation of constant model. Implements log linker function for the constant mean parameter and the batch correction factors. Implements lower sensitivity bound of likelihood with respect to constant mean parameter. Implements upper and lower sensitivity bound of likelihood with respect to batch correction factors.
evalLogLikMu(vecTheta, vecCounts, scaDisp, vecSizeFactors, lsvecidxBatch, vecboolObserved)
vecTheta |
(numeric vector number of parameters to be estimated) Constant model parameter and batch correction factor estimates. |
vecCounts |
(numeric vector number of samples) Read count data. |
scaDisp |
(scalar) Gene-wise negative binomial dispersion hyper-parameter. |
vecSizeFactors |
(numeric vector number of samples) Model scaling factors for each sample which take sequencing depth into account (size factors). |
lsvecidxBatch |
(list length number of confounding variables) List of index vectors. One vector per confounding variable. Each vector has one entry per sample with the index batch within the given confounding variable of the given sample. Batches are enumerated from 1 to number of batches. |
vecboolObserved |
(bool vector number of samples) Whether sample is observed (finite and not NA). |
scaLogLik (scalar) Value of cost function (loglikelihood) for given gene.
David Sebastian Fischer
Compiled version: evalLogLikMu_comp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.