condLogLikDerSize {edgeR}R Documentation

Conditional log-likelihood in terms of size

Description

Conditional log-likelihood paramterized in terms of size (1 / phi)

Usage

 
condLogLikDerSize(y,r,der=1)

Arguments

y list containing the raw data with elements data (table of counts), group (vector indicating group) and lib.size (vector of library sizes)
r size parameter of negative binomial distribution
der derative, either 0 (the function), 1 (first derivative) or 2 (second derivative)

Value

vector of matrix of function/derivative evaluations

Author(s)

Mark Robinson

Examples

y1<-matrix(rnbinom(10,size=1,mu=10),nrow=5)
ll2<-condLogLikDerSize(y1,r=10,der=0)

[Package edgeR version 1.0.4 Index]