injectHardMask          package:Biostrings          R Documentation

_I_n_j_e_c_t_i_n_g _a _h_a_r_d _m_a_s_k _i_n _a _s_e_q_u_e_n_c_e

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

     [TODO]

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

       injectHardMask(x, letter="+")

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

       x: A MaskedXString or XStringViews object. 

  letter: A single letter. 

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

     An XString object of the same length as the orignal object 'x' if
     'x' is a MaskedXString object, or of the same length as
     'subject(x)' if it's an XStringViews object.

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

     H. Pages

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

     'replaceLetterAtLoc', 'chartr', XString, XStringViews-class,
     MaskedXString-class

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

       mask0 <- Mask(mask.width=29, start=c(3, 10, 25), width=c(6, 8, 5))
       x <- DNAString("ACACAACTAGATAGNACTNNGAGAGACGC")
       masks(x) <- mask0
       x
       injectHardMask(x)

