A function to add lines for emphasizing the positions

addGuideLine(guideLine, col = "gray", lty = "dashed", lwd = 1, vp = NULL)

Arguments

guideLine

The genomic coordinates to draw the lines

col

A vector for the line color

lty

A vector for the line type

lwd

A vector for the line width

vp

A Grid viewport object. It must be output of viewTracks

Examples

vp <- getCurTrackViewport(trackViewerStyle(), 10000, 10200)
addGuideLine(c(10010, 10025, 10150), vp=vp)