addGuideLine: Add guide lines to the tracks

Description Usage Arguments See Also Examples

View source: R/addGuideLine.R

Description

A function to add lines for emphasizing the positions

Usage

1
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

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

trackViewer documentation built on Feb. 11, 2021, 2 a.m.