listAttributes            package:biomaRt            R Documentation

_l_i_s_t_s _t_h_e _a_t_t_r_i_b_u_t_e_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 datasets available in the selected dataset

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

     listAttributes(mart, group, category, showGroups = 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 attributes that belong to the specified
          attribute group.  To get a summary of the attribute groups
          set showGroups = TRUE or use the attributeSummary function

category: Show only the attributes that belong to the specified
          attribute category.  To get a summary of the attribute pages
          set showGroups = TRUE or use the attributeSummary function

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

_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)
     #attributes <- listAttributes(mart)
     #attributes[1:10]
     #martDisconnect(mart = mart)
     }

