condLogLikDerSize           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 _s_i_z_e

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

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

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

      
     condLogLikDerSize(y,r,der=1)

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

       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)

_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)
     ll2<-condLogLikDerSize(y1,r=10,der=0)

