basecontent           package:matchprobes           R Documentation

_O_b_t_a_i_n _t_h_e _A_T_C_G _c_o_n_t_e_n_t _o_f _a _g_e_n_e

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

     This function accepts a character vector representing the
     nucleotide sequences and computes the frequencies of each base (A,
     C, G, T).

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

     basecontent(seq)

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

     seq: Character vector.

_D_e_t_a_i_l_s:

     The base frequencies are calculated separately for each element of
     'x'. The elements of 'x' can be in upper case, lower case or
     mixed.

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

     A matrix with 4 columns and 'length(x)' rows. The columns are
     names 'A', 'C', 'T', 'G', and the values in each column are the
     counts of the corresponding bases in the elements of 'x'.

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

     R. Gentleman, W. Huber

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

     'complementSeq','reverseSeq'

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

      v<-c("AAACT", "GGGTT", "ggAtT")
      basecontent(v)

