View source: R/rc.get.coordinates.R
rc.get.coordinates | R Documentation |
Retrieve x and y coordinates in a track.
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,
adjust.origin=TRUE)
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 |
adjust.origin |
whether to relocate origin when plotting only a slice/section of the full 360 degree circle. Used internally for |
If Chr
is NULL
, Start
, End
and Pos
will be considered as cumulative positions since first chromosome.
A list of x and y coordinates.
Minghui Wang <m.h.wang@live.com>
rc.initialize
, rc.reset.params
#This is not to be run alone. Please see tutorial vignette("netweaver") for usage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.