listFilters             package:biomaRt             R Documentation

_l_i_s_t_s _t_h_e _f_i_l_t_e_r_s _a_v_a_i_l_a_b_l_e _i_n _t_h_e _s_e_l_e_c_t_e_d _d_a_t_a_s_e_t

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

     lists the filters available in the selected dataset

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

     listFilters(mart, group, category, showGroups = FALSE, showType = FALSE)

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

    mart: object of class Mart, containing connections to the BioMart
          database.  You have to create such an object using the
          function useMart and update this Mart object by selecting a
          dataset.

   group: Show only the filters that belong to the specified filter
          group.  To get an overview of the filter groups set
          showGroups = TRUE or use the filterSummary function for a
          summary

category: Show only the filters that belong to the specified filter
          category.  To get a summary of the filter category set
          showGroups = TRUE or use the filterSummary function for a
          summary

showGroups: boolean to indicate if one wants to display the filter
          categories and groups along with their names and descriptions

showType: boolean to indicate if one wants to display the type of
          filter (boolean, text,list) along with their names and
          descriptions.  This is especially useful to see wether a
          filter is a boolean or not.

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

     Steffen Durinck

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

     if(interactive()){
     #marts <- listMarts()
     #index<-grep("ensembl",marts)

     #mart <- useMart(marts[index])
     #datasets <- listDatasets(mart)
     #mart <- useDataset(datasets[1],mart = mart)
     #filters <- listFilters(mart)
     #filters[1:10]
     #martDisconnect(mart = mart)
     }

