Convert from (x, y) coordinates to (theta, r)
- Parameters:
- coordinatestuple of ndarray
(x, y) where x and y are in genomics coordinates
- lengthsndarray (l, )
the lengths of the chromosome
- resolution : integer, optional, default: None
Resolution
- Returns:
- (theta, s) tuple of polar coordinates