trackViewer (version 1.8.4)

addGuideLine: Add guide lines to the tracks

Description

A function to add lines for emphasizing the positions

Usage

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

Value

NULL

See Also

See Also as getCurTrackViewport, addArrowMark, viewTracks

Examples

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

Run the code above in your browser using DataLab