Estep2ByGene: E-step with Gauss–Legendre quadrature approximation

View source: R/E_step_approx.R

Estep2ByGeneR Documentation

E-step with Gauss–Legendre quadrature approximation

Description

Perform E-step for one gene, with GQ approximation

Usage

Estep2ByGene(par, z, sf, pi0, mu, disp, k, b, GQ.object)

Arguments

par

A matrix with two columns containing coefficient for the dropout model. The second column is currently unused and set to zero but may be used in the future to model droput rates dependence on gene-specific factors.

z

vector of observed count

sf

Size factors for different cells

pi0

gene-specific zero-inflated parameter

mu

gene-specific mean parameter

disp

Reciprocal of gene-specific size parameter for

GQ.object

Gauss-Legendre quadrature points and weights


cz-ye/DECENT documentation built on Jan. 25, 2023, 5:57 a.m.