computeDevianceResiduals: Deviance residuals of the zero-inflated negative binomial...

Description Usage Arguments Value

View source: R/zinbwave.R

Description

Given a matrix of counts, this function computes the deviance residuals under a zero-inflated negative binomial (ZINB) model.

Usage

1
computeDevianceResiduals(model, x, ignoreW = TRUE)

Arguments

model

the zinb model

x

the matrix of counts n cells by J genes

ignoreW

logical, if true matrix W is ignored. Default is TRUE.

Value

the matrix of deviance residuals of the model.


zinbwave documentation built on Nov. 8, 2020, 8:11 p.m.