getSNP                package:biomaRt                R Documentation

_R_e_t_r_i_e_v_e_s _S_N_P'_s _b_e_t_w_e_e_n _a _g_i_v_e_n _c_h_r_o_m_o_s_o_m_e _s_t_a_r_t _a_n_d _e_n_d _p_o_s_i_t_i_o_n

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

     Retrieves SNP's between a given chromosome start and end position

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

     getSNP( species, chromosome, start, end, mart)

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

 species: Species information.  A list of possible values for this
          argument can be obtained by the function getSpecies.

chromosome: Chromosome name

   start: start position on given chromosome

     end: end position on given chromosome

    mart: object of class Mart, containing connections to the BioMart
          databases.  You can creat such an object using the function
          martConnect.

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

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

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

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

     if(interactive()){
     mart <- martConnect(biomarts=c("ensembl","snp"))

     snp = getSNP(chromosome = 8, start = 148350, end = 148612, species ="hsapiens", mart = mart)
     show(snp)

     martDisconnect(mart = mart)
     }

