fitConstImpulse: Fits impulse and constant models to all genes on all samples...

Description Usage Arguments Value Author(s) See Also

View source: R/srcImpulseDE2_fitImpulse.R

Description

[Model fitting function hierarchy: 2 out of 4] This secondary fitting wrapper performs parralelisation of model fitting across genes.

Usage

1
2
fitConstImpulse(matCountDataProcCondition, vecDispersions, vecSizeFactors,
  vecTimepoints, lsvecBatches, boolFitConst)

Arguments

matCountDataProcCondition

(matrix genes x samples) Read count data.

vecDispersions

(vector number of genes) Gene-wise negative binomial dispersion hyper-parameters.

vecSizeFactors

(numeric vector number of samples) Model scaling factors for each sample which take sequencing depth into account (size factors).

vecTimepoints

(numeric vector length number of samples) Time coordinates of each sample.

lsvecBatches

(list length number of confounding variables) List of vectors. One vector per confounding variable. Each vector has one entry per sample with the name of the batch ID within the given confounding variable of the given sample.

boolFitConst

(bool) Whether to fit a constant model.

Value

(list length 5)

Author(s)

David Sebastian Fischer

See Also

Called by fitModels to fit constant and impulse model to samples of one condition. Calls fitConstImpulseGene to perform fitting on each gene.


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