ucscTrackModes-class       package:rtracklayer       R Documentation

_C_l_a_s_s "_u_c_s_c_T_r_a_c_k_M_o_d_e_s"

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

     A vector of view modes ("hide", "dense", "full", "pack", "squish")
     for each track in a UCSC view.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects may be created by calls of the form 'ucscTrackModes(object
     = character(), hide = character(), dense = character(), pack =
     character(), squish = character(), full = character())', where
     'object' should be a character vector of mode names (with its
     'names' attribute specifying the corresponding track names). The
     other parameters should contain track names that override the
     modes in 'object'.

_S_l_o_t_s:


     '._D_a_t_a': Object of class '"character"' holding the modes ("hide",
          "dense", "full", "pack", "squish"), with its 'names'
          attribute holding corresponding track names.

     '_l_a_b_e_l_s': Object of class '"character"' holding labels
          (human-readable names) corresponding to each track/mode.

_E_x_t_e_n_d_s:

     Class '"character"', from data part. Class '"vector"', by class
     "character", distance 2. Class '"characterORMIAME"', by class
     "character", distance 2.

_M_e_t_h_o_d_s:


     '_t_r_a_c_k_s(_o_b_j_e_c_t)' Gets the names of the visible tracks (those that
          do not have mode "hide"). 

     '_t_r_a_c_k_s(_o_b_j_e_c_t) <- _v_a_l_u_e' Sets the names of the visible tracks.
          Any tracks named in 'value' are set to "full" if the are
          currently set to "hide" in this object. Any tracks not in
          'value' are set to "hide". All other modes are preserved.

     '_o_b_j_e_c_t[_i]' Gets the track mode of the tracks indexed by 'i',
          which can be any type of index supported by character vector
          subsetting. If 'i' is a character vector, it indexes first by
          the internal track IDs (the 'names' on '.Data') and then by
          the user-level track names (the 'labels' slot).

     '_o_b_j_e_c_t[_i] <- _v_a_l_u_e' Sets the track modes indexed by 'i' (in the
          same way as in 'object[i]' above) to those specified in
          'value'. 

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

     Michael Lawrence

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

     'ucscView' on which track view modes may be set.

