getCurTrackViewport: Get current track viewport

View source: R/getCurTrackViewport.R

getCurTrackViewportR Documentation

Get current track viewport

Description

Get current track viewport for addGuideLine

Usage

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

See Also

See Also as addGuideLine

Examples

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

jianhong/trackViewer documentation built on June 23, 2024, 7:18 p.m.