makeTextOverlay         package:GenomeGraphs         R Documentation

_C_r_e_a_t_e _o_b_j_e_c_t_s _o_f _c_l_a_s_s _T_e_x_t_O_v_e_r_l_a_y

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

     Create objects of class TextOverlay

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

     makeTextOverlay(text, xpos, ypos, region = NULL, coords = c("genomic", "absolute"), dp = NULL)

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

    text: The text to plot

    xpos: The xposition of the text

    ypos: The yposition of the text

  region: 

  coords: 

      dp: The display parameters

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

     Returns class of TextOverlay

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

     data("exampleData", package="GenomeGraphs")
     seg <- makeSegmentation(segStart, segEnd, segments, 
                             dp = DisplayPars(color = "black", lwd=2,lty = "solid"))
     cop <- makeGenericArray(intensity  = cn, probeStart = probestart, 
                             segmentation =  seg, dp = DisplayPars(size=3, color = "seagreen", type="dot"))
     gdPlot(cop, overlay = makeTextOverlay("Overlay Text", xpos = .5, ypos = .5, coords = "absolute"))

