makeTextOverlay: Create objects of class TextOverlay

Description Usage Arguments Value Examples

View source: R/Overlay.R

Description

Create objects of class TextOverlay

Usage

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

Arguments

text

The text to plot

xpos

The xposition of the text

ypos

The yposition of the text

region

Region

coords

Coordinates

dp

The display parameters

Value

Returns class of TextOverlay

Examples

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

GenomeGraphs documentation built on Oct. 31, 2019, 4:34 a.m.