getTrans               package:seqinr               R Documentation

_G_e_n_e_r_i_c _F_u_n_c_t_i_o_n _t_o _t_r_a_n_s_l_a_t_e _a _s_e_q_u_e_n_c_e

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

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

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

     getTrans(seq, frame = 0, sens = "F", numcode = 1)

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

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

   frame: Frame(s) (0,1,2) to translate. By default the frame '0' is
          used. 

    sens: Sense to translate: 'F' for forward sense and 'R' for revers
          sense. 

 numcode: The number of the code to use. By default the standard
          genetic code is used. 

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

     a vector of chars containing the sequence

_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:

     'translate'

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

      methods(getTrans)

