Description Usage Arguments Value Author(s) See Also
View source: R/srcImpulseDE2_fitImpulse.R
[Model fitting function hierarchy: helper to level 3 out of 4] This is a fitting helper function which computes parameter intialisations and does not wrap or execute numerical optimisation. The peak model models a maximum between start and end time, the valley model models a minimum between start and end time.
1 | estimateImpulseParam(vecCounts, vecTimepoints, vecSizeFactors, lsvecidxBatch)
|
vecCounts |
(numeric vector number of samples) Read count data. |
vecTimepoints |
(numeric vector length number of samples) Time coordinates of each sample. |
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. |
(list length 2)
peak (numeric vector length 6) {beta, h0, h1, h2, t1, t2} Peak model initialisations of impulse model parameters.
valley (numeric vector length 6) {beta, h0, h1, h2, t1, t2} Valley model initialisations of impulse model parameters.
David Sebastian Fischer
Called by fitConstImpulseGene.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.