condLogLikDerDelta {edgeR} | R Documentation |
Conditional log-likelihood paramterized in terms of delta (phi / (phi+1)
)
condLogLikDerDelta(y, delta, grid = TRUE, der = 1, doSum = TRUE)
y |
matrix with count data (or pseudo-data) |
delta |
delta (phi / (phi+1) )parameter of negative binomial |
grid |
logical, whether to calculate a grid over the values of delta |
der |
derative, either 0 (the function), 1 (first derivative) or 2 (second derivative) |
doSum |
logical, whether to sum over samples or not (default TRUE |
vector of matrix of function/derivative evaluations
Mark Robinson
y1<-matrix(rnbinom(10,size=1,mu=10),nrow=5) v1<-seq(.1,.9,length=9) ll1<-condLogLikDerDelta(y1,v1,grid=TRUE,der=0,doSum=FALSE) ll2<-condLogLikDerDelta(y1,delta=.5,grid=FALSE,der=0)