UniFilter-constructor          package:xps          R Documentation

_C_o_n_s_t_r_u_c_t_o_r _f_o_r _C_l_a_s_s _U_n_i_F_i_l_t_e_r

_D_e_s_c_r_i_p_t_i_o_n:

     Constructor for class UniFilter allows to apply different unitest
     filters to class 'ExprTreeSet', i.e. to the expression level
     data.frame 'data'.

_U_s_a_g_e:

     UniFilter(unitest    = "t.test",
               foldchange = character(),
               prescall   = character(),
               unifilter  = character())

_A_r_g_u_m_e_n_t_s:

 unitest: '"character"' vector describing parameters for 'uniTest'.

foldchange: '"character"' vector describing parameters for 'fcFilter'.

prescall: '"character"' vector describing parameters for 'callFilter'.

unifilter: '"character"' vector describing parameters for
          'unitestFilter'.

_D_e_t_a_i_l_s:

     The UniFilter constructor allows to apply the following unitest
     filters to class 'ExprTreeSet':

         'unitest':     character vector c(type,alternative,correction.numperm,mu,paired,conflevel,varequ).
         'foldchange':  character vector c(cutoff,direction).
         'prescall':    character vector c(cutoff,samples,condition).
         'unifilter':   character vector c(cutoff,variable).

_V_a_l_u_e:

     An object of type '"UniFilter"'

_N_o_t_e:

     Function 'UniFilter' is used as constructor for class 'UniFilter'
     so that the user need not know details for creating S4 classes.

_A_u_t_h_o_r(_s):

     Christian Stratowa

_S_e_e _A_l_s_o:

     'UniFilter', 'PreFilter'

_E_x_a_m_p_l_e_s:

     ## fill character vectors within constructor
     unifltr <- UniFilter(unitest=c("t.test","two.sided","none",0,0.0,FALSE,0.95,TRUE),
                          foldchange=c(1.3,"both"),unifilter=c(0.1,"pval"))
     str(unifltr)

     ## alternatively add character vectors as methods after creation of constructor
     unifltr <- UniFilter()
     fcFilter(unifltr) <- c(1.5,"both")
     unitestFilter(unifltr) <- c(0.01,"pval")
     str(unifltr)

