BioStringNewValues        package:Biostrings        R Documentation

_g_e_n_e_r_i_c _t_o _d_o _c_r_e_a_t_e _a_n _o_b_j_e_c_t _s_u_i_t_a_b_l_e _f_o_r _t_h_e _v_a_l_u_e_s _s_l_o_t _o_f
"_B_i_o_S_t_r_i_n_g_s" _c_l_a_s_s

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

     This generic creates an external vector object that contains (in
     its tag field) an R vector (of type either 'INTSXP' or 'CHARSXP')
     of the given length. The actual type is determined according to
     the size of the alphabet.

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

     BioStringNewValues(alphabet, length.string)

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

alphabet: An object of class "BioAlphabet" 

length.string: An integer, the length of the storage in the result 

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

     An external pointer.

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

     Saikat DebRoy

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

     'BioString-class' for the class which uses this generic during its
     initialization and 'BioAlphabet-class' for the class of the
     'alphabet' parameter.

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

     BioStringNewValues(DNAAlphabet(), 0)

