Given coordinates of a data point and canonical position grid, this function tells if the data point is close to at least one canonical positions on the BAF-LRR plot.
Usage
is.nearCP(seg.x, seg.y, gg, para)
Arguments
seg.x
x coordinate of the data point.
seg.y
y coordinate of the data point.
gg
canoincal position grid as returned from getGrid()