condLogLikDerSize {edgeR} | R Documentation |
Conditional log-likelihood paramterized in terms of size (1 / phi
)
condLogLikDerSize(y,r,der=1)
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) |
vector of matrix of function/derivative evaluations
Mark Robinson
y1<-matrix(rnbinom(10,size=1,mu=10),nrow=5) ll2<-condLogLikDerSize(y1,r=10,der=0)