exportFASTA             package:biomaRt             R Documentation

_E_x_p_o_r_t_s _g_e_t_S_e_q_u_e_n_c_e _r_e_s_u_l_t_s _t_o _F_A_S_T_A _f_o_r_m_a_t

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

     Exports getSequence results to FASTA format

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

     exportFASTA(martTable, file)

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

martTable: A martTable that was the output of the getSequence function

    file: File to which you want to write the data

_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()

     seq<-getSequence(chromosome=c(2,2),start=c(100000,30000),end=c(100300,30500),species="hsapiens",mart=mart)
     #exportFASTA(seq,file="test.fasta")

     martDisconnect(mart = mart)
     }

