estimateImpulseParam: Compute peak and valley impulse model parameter...

Description Usage Arguments Value Author(s) See Also

View source: R/srcImpulseDE2_fitImpulse.R

Description

[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.

Usage

1
estimateImpulseParam(vecCounts, vecTimepoints, vecSizeFactors, lsvecidxBatch)

Arguments

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.

Value

(list length 2)

Author(s)

David Sebastian Fischer

See Also

Called by fitConstImpulseGene.


ImpulseDE2 documentation built on April 28, 2020, 9:19 p.m.