getFrag                package:seqinr                R Documentation

_G_e_n_e_r_i_c _F_u_n_c_t_i_o_n _t_o _o_b_t_a_i_n _a _f_r_a_g_m_e_n_t _o_f _a _s_e_q_u_e_n_c_e

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

     Methods for the classes of sequences: 'SeqFastadna', 
     'SeqFastaAA',  'SeqAcnucWeb', 'SeqFrag'.

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

     getFrag(object, begin, end)

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

  object: an object of the class 'SeqFastadna', 'SeqFastaAA', 
          'SeqAcnucWeb' or 'SeqFrag' 

   begin: First base 

     end: Last base 

_V_a_l_u_e:

     An object of class SeqFrag, which is a vector of chars with many
     attributes: 

seqMother: the name of the sequence from which the sequence comes

   begin: the position of the first base of the fragment on the mother
          sequence

     end: the position of the last base of the fragment on the mother
          sequence 

   class: the class of the new sequence i.e. 'SeqFrag' 

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

     D. Charif

_R_e_f_e_r_e_n_c_e_s:

      'citation("seqinr")'

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

     'getSequence'

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

       methods(getFrag)

