nbkd.sf {DESeq} | R Documentation |
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
.
nbkd.sf(r, sf)
r |
The 'size' argument (see |
sf |
A vector of size factors. |
A GLM family object.
Simon Anders, anders@embl.de