addGuideLine {trackViewer} | R 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)

[Package trackViewer version 1.24.2 Index]