rc.get.coordinates {NetWeaver} | R Documentation |
Get Coordinates
Description
Retrieve x and y coordinates in a track.
Usage
rc.get.trackCoordinates(track.id, Start, End, Chr=NULL, degree=NULL, trackThickness=NULL)
rc.get.coordinates(track.id, Pos, Chr=NULL, degree=NULL, innerSide=TRUE, bottomSide=TRUE)
Arguments
track.id |
number of track from outermost. |
Start , End |
start/end position on a chromosome or since first chromosome. See |
Pos |
a vector of positions on a chromosome or since first chromosome. See |
Chr |
a chromosome id. See |
degree |
the angle of the arc rotation, overwrites |
trackThickness |
thickness (height) of a track. |
innerSide |
whether to compute coordinates on the inner side of a track. Outer side coordinates will be returned if FALSE. Used for |
bottomSide |
whether to compute coordinates on the bottom side of a track. Upper side coordinates will be returned if FALSE. Used for |
Details
If Chr
is NULL
, Start
, End
and Pos
will be considered as cumulative positions since first chromosome.
Value
A list of x and y coordinates.
Author(s)
Minghui Wang <m.h.wang@live.com>
See Also
rc.initialize
, rc.reset.params
Examples
#This is not to be run alone. Please see tutorial vignette("netweaver") for usage.