getCurTrackViewport: Get current track viewport

Description Usage Arguments Value Author(s) See Also Examples

View source: R/addGuideLine.R

Description

Get current track viewport for addGuideLine

Usage

1
getCurTrackViewport(curViewerStyle, start, end)

Arguments

curViewerStyle

an object of trackViewerStyle

start

start position of current track

end

end position of current track

Value

an object of viewport

Author(s)

Jianhong Ou

See Also

See Also as addGuideLine

Examples

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

trackViewer documentation built on May 31, 2017, 3:23 p.m.