| makeTextOverlay {GenomeGraphs} | R Documentation |
Create objects of class TextOverlay
makeTextOverlay(text, xpos, ypos, region = NULL, coords = c("genomic", "absolute"), dp = NULL)
text |
The text to plot |
xpos |
The xposition of the text |
ypos |
The yposition of the text |
region |
|
coords |
|
dp |
The display parameters |
Returns class of TextOverlay
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"))