useMart               package:biomaRt               R Documentation

_C_o_n_n_e_c_t_s _t_o _t_h_e _s_e_l_e_c_t_e_d _B_i_o_M_a_r_t

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

     This function connects to the selected BioMart

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

     useMart(biomart, dataset, host, user, password, local = FALSE, mysql=FALSE)

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

 biomart: BioMart database name you want to connect to. Possible
          database names can be retrieved with the functio listMarts

 dataset: Dataset you want to use.  To see the different datasets
          available within a biomaRt you can e.g. do:  mart =
          useMart('ensembl'), followed by listDatasets(mart).

   mysql: Boolean to specify if you want to access BioMart database via
          MySQL or via it's webservice of HTTP.  Default is using the
          webservice.

    host: If you want to use a local host or a miror database, use
          vector of hosts.  For connecting to public BioMarts this
          parameter is not required

    user: username, use vector of usernames for non public or miror
          BioMarts

password: password, use vector of passwords for non-public or miror
          BioMarts

   local: boolean to specify if you want to use a locally installed
          BioMart or a mirror BioMart database

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

     Steffen Durinck, <URL: http://www.esat.kuleuven.ac.be/~sdurinck>

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

     if(interactive()){

     mart = useMart("ensembl")

     #if the dataset you wish to use is known you can do:
     mart=useMart(biomart="ensembl", dataset="hsapiens_gene_ensembl")

     }

