kRepsOverA            package:factDesign            R Documentation

_A _f_i_l_t_e_r _f_u_n_c_t_i_o_n _f_o_r _a_t _l_e_a_s_t _k _s_e_t_s _o_f _r_e_p_l_i_c_a_t_e_s _i_n _a _f_a_c_t_o_r_i_a_l _e_x_p_e_r_i_m_e_n_t _t_o _h_a_v_e _m_e_a_n _l_a_r_g_e_r _t_h_a_n _A.

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

     `kRepsOverA' returns a filter function with bindings for `k' and
     `A'.  This function evalutes `TRUE' is at least `k' of the means
     of the replicates are larger than `A'.

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

     kRepsOverA(k, A = 100, INDEX)

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

       k: The number of sets of replicates with mean greater than A.

       A: The value to exceed. 

   INDEX: List of factors, each of the same length as the input vector. 

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

     A function with bindings for `A', `k', and `INDEX'.

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

     Denise Scholtens

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

     'kOverA','pOverA'

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

     library(affy)
     library(genefilter)
     data(estrogen)
     #select the replicates with values larger than 5
     f1 <- kRepsOverA(1,5,INDEX=pData(estrogen))
     genefilter(estrogen[1:30],f1)

