wtVariables              package:limma              R Documentation

_R_e_a_d _R_G_L_i_s_t _f_r_o_m _I_m_a_g_e _A_n_a_l_y_s_i_s _O_u_t_p_u_t _F_i_l_e_s

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

     Extracts variable names from weight functions such as 'wtarea',
     'wtflags', 'wtIgnore.Filter' and user defined functions for fast
     loading in 'read.maimages'.

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

     wtVariables(x, fun)

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

       x: A character vector of all columns to search against

     fun: A weight function to search for any of the possible columns
          in x

_D_e_t_a_i_l_s:

     This is an internally called function by 'getColClasses' which
     constructs a colClasses vector for fast loading of only required
     columns in 'read.maimages'

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

     Vector of columns required within read.maimages

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

     Gordon Smyth

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

     'getColClasses' 'read.table'

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

     searchcols <- c("area","Flags","Ignore Filter")
     wtVariables(searchcols, wtarea)
     wtVariables(searchcols, wtflags)
     wtVariables(searchcols, wtIgnore.Filter)
     rm(searchcols) # tidy up

