IRangesList-class          package:IRanges          R Documentation

_L_i_s_t _o_f _I_R_a_n_g_e_s

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

     A 'RangesList' that only stores 'IRanges' objects.

_C_o_n_s_t_r_u_c_t_o_r:


      'IRangesList(..., compress = TRUE)': Each 'IRanges' in '...'
          becomes an element in the new 'IRangesList', in the same
          order. This is analogous to the 'list' constructor, except
          every argument in '...' must be derived from 'IRanges'.  If
          'compress', the internal storage of the data is compressed.


_C_o_e_r_c_i_o_n:


      'as(from, "NormalIRanges")': Merges each of the elements into a
          single 'NormalIRanges' through 'reduce'.

      'unlist(x)': Unlists 'x', an 'IRangesList', by concatenating all
          of the ranges into a single 'IRanges' instance. If the length
          of 'x' is zero, an empty 'IRanges' is returned.


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

     Michael Lawrence

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

     'RangesList', the parent of this class, for more functionality.

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

       range1 <- IRanges(start=c(1,2,3), end=c(5,2,8))
       range2 <- IRanges(start=c(15,45,20,1), end=c(15,100,80,5))
       named <- IRangesList(one = range1, two = range2)
       length(named) # 2
       names(named) # "one" and "two"
       named[[1]] # range1
       unnamed <- IRangesList(range1, range2)
       names(unnamed) # NULL

