addGuideLine: Add guide lines to the tracks

View source: R/addGuideLine.R

addGuideLineR Documentation

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

See Also

See Also as getCurTrackViewport, addArrowMark, viewTracks

Examples

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

jianhong/trackViewer documentation built on March 17, 2024, 2:16 p.m.