DisplayPars           package:GenomeGraphs           R Documentation

_D_i_s_p_l_a_y_P_a_r_s _c_o_n_s_t_r_u_c_t_s _o_b_j_e_c_t_s _o_f _t_y_p_e _D_i_s_p_l_a_y_P_a_r_s _w_h_i_c_h _a_r_e _u_s_e_d
_t_o _e_f_f_e_c_t _t_h_e _d_i_s_p_l_a_y _o_f _g_d_O_b_j_e_c_t_s

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

     DisplayPars takes any number of named arguments which will be used
     by the drawGD method of the gdObject. These arguments are
     analagous to both par and gp of the traditional and grid graphics
     systems respectively. Different functions support different
     graphical parameters - thus it is necessary to consult the
     documentation of the particular gdObject to determine which
     DisplayPars will be used.

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

     DisplayPars(...)

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

     ...: name value pairs 

_D_e_t_a_i_l_s:

     It is not recommended to call 'new("DisplayPars", ...)' directly;
     rather this function 'DisplayPars()' should be called instead. If
     a gdObject has already been instantiated then the appropriate
     method for changing graphical parameters is: 'setPar'.

_V_a_l_u_e:

     Returns an object of type DisplayPars, generally this will be
     called during a call to the 'new' function for a particular
     gdObject.

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

     James Bullard

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

     minbase = 10000
     maxbase = 15000
     mart <- useMart("ensembl", dataset = "scerevisiae_gene_ensembl")
     genesplus <- new("GeneRegion", start = minbase, end = maxbase, biomart = mart,
                     strand = "+", chromosome = "I", dp = DisplayPars(color =
                     "red"))
     gaxis <- new("GenomeAxis", add53 = TRUE, add35 = TRUE)
     genesminus <- new("GeneRegion", start = minbase, end = maxbase, biomart = mart,
                     strand = "-", chromosome = "I", dp = DisplayPars(color =
                     "purple", size = 2))
     title <- new("Title", title = "genes in a region")
     gdPlot(list(genesplus, gaxis, genesminus, title), minbase, maxbase)

