BStringViews           package:Biostrings           R Documentation

_T_h_e _B_S_t_r_i_n_g_V_i_e_w_s _c_l_a_s_s

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

     A container for a set of views on the same BString (or DNAString,
     or RNAString) object.

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

     [TODO: Put some details here]

_A_c_c_e_s_o_r _m_e_t_h_o_d_s:

     In the code snippets below, 'x' is a BStringViews object.

      'subject(x)': [TODO: Document me]

      'first(x)': [TODO: Document me]

      'last(x)': [TODO: Document me]

      'width(x)': [TODO: Document me]

      'desc(x)': [TODO: Document me]

_C_o_n_s_t_r_u_c_t_o_r-_l_i_k_e _f_u_n_c_t_i_o_n_s _a_n_d _g_e_n_e_r_i_c_s:

     In the code snippets below, 'subject' is a character vector or a
     BString (or DNAString or RNAString) object and 'first', 'last' and
     'width' are numeric vectors.

      'views(subject, first, last)': [TODO: Document me]

      'adjacentViews(subject, width, gapwidth)': [TODO: Document me]

     In the code snippets below, 'src' can be a character vector, a
     connection object, a BString (or DNAString or RNAString) object or
     a BStringViews object, 'subjectClass' is a character-string with
     value '"BString"', '"DNAString"' or '"RNAString"' and 'sep' is a
     character-string.

      'BStringViews(src, subjectClass, sep)': [TODO: Document me]

_S_t_a_n_d_a_r_d _g_e_n_e_r_i_c _m_e_t_h_o_d_s:

     In the code snippets below, 'x', 'object', 'e1' and 'e2' are
     BStringViews objects, and 'i' can be a numeric or logical vector.

      'length(x)': Used to get the length of a BStringViews, i.e., its
          number of views

      'x[i]': [TODO: Document me]

      'x[[i]]': [TODO: Document me]

      'e1 == e2': [TODO: Document me]

      'e1 != e2': [TODO: Document me]

      'as.character(x)': [TODO: Document me]

      'toString(x)': [TODO: Document me]

      'nchar(x)': [TODO: Document me]

      'as.matrix(x)': [TODO: Document me]

      'as.list(x)': [TODO: Document me]

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

     H. Pages

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

     BString, DNAString, RNAString

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

       ## A BStringViews object with 12 views
       v12 <- views(DNAString("TAATAATG"), -2:9, 0:11)

