removeUninformativeFactors       package:puma       R Documentation

_R_e_m_o_v_e _u_n_i_n_f_o_r_m_a_t_i_v_e _f_a_c_t_o_r_s _f_r_o_m _t_h_e _p_h_e_n_o_t_y_p_e _d_a_t_a _o_f _a_n _E_x_p_r_e_s_s_i_o_n_S_e_t

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

     This is really an internal function used to remove uninformative
     factors from the phenotype data. Uninformative factors here are
     defined as those which have the same value for all arrays in the
     'ExpressionSet'.

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

             removeUninformativeFactors(eset)

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

    eset: An object of class 'ExpressionSet'. 

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

     An 'ExpressionSet' object with the same data as the input, except
     for a new 'phenoData' slot.

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

     Richard D. Pearson

_S_e_e _A_l_s_o:

     Related methods 'createDesignMatrix' and  'createContrastMatrix'

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

             eset_test <- new("ExpressionSet", exprs=matrix(rnorm(400,8,2),100,4))
             pData(eset_test) <- data.frame("informativeFactor"=c("A", "A", "B", "B"), "uninformativeFactor"=c("X","X","X","X"))
             eset_test2 <- removeUninformativeFactors(eset_test)
             pData(eset_test)
             pData(eset_test2)

