comp.F                 package:DEDS                 R Documentation

_C_o_m_p_u_t_i_n_g _F-_s_t_a_t_i_s_t_i_c _f_o_r _D_i_f_f_e_r_e_n_t_i_a_l _E_x_p_r_e_s_s_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     'comp.F' returns a function of one argument with bindings for 'L'.
     This function accepts a microarray data matrix as its single
     argment, when evaluated, computes F statistics for each row of the
     matrix.

_U_s_a_g_e:

     comp.F(L = NULL)

_A_r_g_u_m_e_n_t_s:

       L: A vector of integers corresponding to observation (column)
          class labels. For k classes, the labels must be integers
          between 0 and k-1. 

_V_a_l_u_e:

     'comp.F' returns a function with bindings for 'L', which
     calculates and returns of vector of F statistics  for each row in
     the data matrix.

_A_u_t_h_o_r(_s):

     Yuanyuan Xiao, yxiao@itsa.ucsf.edu, 
      Jean Yee Hwa Yang, jean@biostat.ucsf.edu.

_S_e_e _A_l_s_o:

     'comp.FC', 'comp.t'

_E_x_a_m_p_l_e_s:

     X <- matrix(rnorm(1000,0,0.5), nc=10)
     L <- rep(0:1,c(5,5))

     # genes 1-10 are differentially expressed
     X[1:10,6:10]<-X[1:10,6:10]+1

     # two sample test, unequal variance
     F <- comp.F(L)
     f.X <- F(X)

