featureFilter             package:GGBase             R Documentation

_r_e_m_o_v_e _u_n_a_n_n_o_t_a_t_e_d _o_r _u_n_d_e_s_i_r_e_d _f_e_a_t_u_r_e_s _f_r_o_m _a_n _s_m_l_S_e_t _i_n_s_t_a_n_c_e

_D_e_s_c_r_i_p_t_i_o_n:

     remove unannotated or undesired features from an smlSet instance

_U_s_a_g_e:

     featureFilter(x, requires = c("loc", "autosomal"))

_A_r_g_u_m_e_n_t_s:

       x: instance of smlSet class 

requires: character vector - if "loc" is present, require that a non-NA
          value is present in CHRLOC for each feature; if "autosomal"
          is present, require that CHR value is in 1:22 (presently
          assumes human genome) 

_V_a_l_u_e:

     revised smlSet instance excluding features no

_A_u_t_h_o_r(_s):

     VJ Carey

_E_x_a_m_p_l_e_s:

     library(GGtools)
     if (!exists("hmceuB36.2021")) data(hmceuB36.2021)
     dim(exprs(hmceuB36.2021))
     ff = featureFilter(hmceuB36.2021)
     dim(exprs(ff))

