layTrack-methods         package:rtracklayer         R Documentation

_L_a_y_i_n_g _t_r_a_c_k_s

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

     Methods for loading 'trackSet's into genome browsers.

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

     layTrack(object, track, name = deparse(substitute(track)), view = TRUE, ...)

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

  object: A 'browserSession' into which the track is loaded.

   track: The track(s) to load.

    name: The name(s) of the track(s) being loaded.

    view: Whether to create a view of the track after loading it.

     ...: Arguments to pass on to methods.

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

     The following methods are defined by 'rtracklayer'. A browser
     session implementation must implement a method for either
     'trackSet' or 'trackSets'. The base 'browserSession' class will
     delegate appropriately.



     _o_b_j_e_c_t = "_b_r_o_w_s_e_r_S_e_s_s_i_o_n", _t_r_a_c_k = "_t_r_a_c_k_S_e_t" Load this track into
          the session. 

     _o_b_j_e_c_t = "_b_r_o_w_s_e_r_S_e_s_s_i_o_n", _t_r_a_c_k = "_t_r_a_c_k_S_e_t_s" Load all tracks
          into the session. 

     _o_b_j_e_c_t = "_u_c_s_c_S_e_s_s_i_o_n", _t_r_a_c_k = "_t_r_a_c_k_S_e_t_s" 'layTrack(object,
          track, name = deparse(substitute(track)), view = TRUE, format
          = "gff")': Load the tracks into the session using the
          specified 'format'.


     _o_b_j_e_c_t = "_a_r_g_o_S_e_s_s_i_o_n", _t_r_a_c_k = "_t_r_a_c_k_S_e_t" Load the track into the
          session.


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

     'trackSet' for getting 'trackSet' instances from a session.

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

     ## Not run: 
       session <- browseGenome()
       track <- import(system.file("tests", "v2.gff", package = "rtracklayer"))
       layTrack(session, track, "My Track")
     ## End(Not run)

