track<--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 'RangedData' instances (tracks) into genome
     browsers.

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

     ## S4 replacement method for signature 'BrowserSession,
     ##   RangedData':
     track(object, name = deparse(substitute(track)), view = FALSE, ...) <- value

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

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

   value: 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
     'RangedData' or 'RangedDataList'. 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", _v_a_l_u_e = "_R_a_n_g_e_d_D_a_t_a" 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", _v_a_l_u_e = "_R_a_n_g_e_d_D_a_t_a_L_i_s_t" Load all
          tracks into the session. 

     _o_b_j_e_c_t = "_U_C_S_C_S_e_s_s_i_o_n", _v_a_l_u_e = "_R_a_n_g_e_d_D_a_t_a_L_i_s_t" 'track(object,
          name = deparse(substitute(track)), view = FALSE, format =
          "gff") <- value': Load the tracks into the session using the
          specified 'format'.


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

     'track' for getting a track from a session.

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

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

