nbkd.sf: GLM family for a negative binomial with known dispersion and...

Description Usage Arguments Value Author(s)

View source: R/core.R

Description

A distribution family for use with glm. It describes a negative binomial (as negative.binomial in the MASS package), but with a special link function, namely eta[i] = log( mu[i] / sf[i] ), i.e., each count value is divided by its size factor before the log is taken. This is used internally by fitNbinomGLMs.

Usage

1
nbkd.sf(r, sf)

Arguments

r

The 'size' argument (see dnbinom), i.e., the reciprocal of the dispersion.

sf

A vector of size factors.

Value

A GLM family object.

Author(s)

Simon Anders, anders@embl.de


DESeq documentation built on April 28, 2020, 6:37 p.m.