activeView-methods        package:rtracklayer        R Documentation

_A_c_c_e_s_s_i_n_g _t_h_e _a_c_t_i_v_e _v_i_e_w

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

     Get the active view.

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

     The following methods are defined by 'rtracklayer'.

     _o_b_j_e_c_t = "_b_r_o_w_s_e_r_S_e_s_s_i_o_n" 'activeView(object)': Gets the active
          'browserView' from a browser session.

          'activeView(object) <- value': Sets the active 'browserView'
          in a browser session.

     _o_b_j_e_c_t = "_u_c_s_c_V_i_e_w" _o_r "_a_r_g_o_V_i_e_w" 'activeView(object)': Gets a
          logical indicating whether this is the active view.


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

     ## Not run: 
       session <- browseGenome(browser = "argo")
       activeView(session)
       view <- browserView(session, genomeSegment("hg18", "chr22", 20000, 30000))
       activeView(session) <- view
     ## End(Not run)

