decompressDispByGene: Compute dispersion parameter estimates from mean parameter...

Description Usage Arguments Value Author(s) See Also

View source: R/srcLineagePulse_decompressParameters.R

Description

Takes the model type and computes one dispersion parameter for each cell for one gene.

Usage

1
2
decompressDispByGene(vecDispModel, lsvecBatchModel = NULL, lsDispModelGlobal,
  vecInterval = NULL)

Arguments

vecDispModel

(numerical vector number of model parameters) Parameters of dispersion model for given gene.

lsvecBatchModel

(list) [Defaul NULL] List of vectors of batch correction models for dispersion parameter.

lsDispModelGlobal

(list) Object containing meta-data of gene-wise dispersion parameter models.

vecInterval

(integer vector length target cells) [Default NULL] Positions of cells in ordering, for which parameters are to be computed. Default all cells.

Value

vecDisp (numerical vector number of cells) Dispersion parameter estimates for given gene (one per cell for given gene).

Author(s)

David Sebastian Fischer

See Also

Called by fitZINB.


LineagePulse documentation built on Nov. 8, 2020, 7:01 p.m.