condLogLikDerDelta           package:edgeR           R Documentation

_C_o_n_d_i_t_i_o_n_a_l _l_o_g-_l_i_k_e_l_i_h_o_o_d _i_n _t_e_r_m_s _o_f _d_e_l_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Conditional log-likelihood paramterized in terms of delta ('phi /
     (phi+1)')

_U_s_a_g_e:

      
     condLogLikDerDelta(y, delta, grid = TRUE, der = 1, doSum = TRUE) 

_A_r_g_u_m_e_n_t_s:

       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'

_V_a_l_u_e:

     vector of matrix of function/derivative evaluations

_A_u_t_h_o_r(_s):

     Mark Robinson

_E_x_a_m_p_l_e_s:

     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)

