Validate if user defined plot locations (inside.pos and outside.pos) are inside of plot area and do not overlap with chromosome ideogram. RCircos core components must be initialized first. This function is mainly for internal use.
Usage
RCircos.Validate.Track.Positions(inside.pos=0, outside.pos=0,
erase.area=FALSE)
Arguments
- inside.pos
Non-negative numeric, inside position (relative to the centre of plot area) of the track.
- outside.pos
Non-negative numeric, outside position (relative to the centre of plot area) of the track.
- erase.area
Logic, if the track is going to be erased.
Value
A numeric vector with length of 2 for the real plot position of a customized track.