buildFDMat              package:PCpheno              R Documentation

_B_u_i_l_d _f_i_t_n_e_s_s _d_e_f_e_c_t _c_o_n_t_i_n_g_e_n_c_y _m_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n:

     Function to build a fitness defect contingency matrix where rows
     correspond to tested genes and columns to experimental conditions.

_U_s_a_g_e:

     buildFDMat(data,genenames,condition)

_A_r_g_u_m_e_n_t_s:

    data: List of 'significant' fitness defect scores and the
          associated genes at different experimental conditions.

condition: Character vector of the different experimental conditions
          tested

genenames: Character vector of all the tested genes for fitness defect.

_V_a_l_u_e:

     Contingency matrix of genes that present significant fitness
     defect in different experimental conditions.

_A_u_t_h_o_r(_s):

     N. LeMeur

_E_x_a_m_p_l_e_s:

      data(GiaeverPheno)
      data(GiaeverExpCdt)
      data(GiaeverGene)
      fitnessData <- getFDgene(GiaeverPheno,condition=GiaeverExpCdt,cutoff=c(20,100,100),mode="generation",subset=c(5,15,20))
      GiaeverPhenoM <- buildFDMat(data=fitnessData,genenames=GiaeverGene,condition=GiaeverExpCdt[,3])

