
(Kind of) merges segments that lie on the same level.
ShrinkReprTMP.Rd
Iterates through segments in segments
, and if two segments have the same level,
then they are essentially merged with help of granges_obj
. Actual procedure described
in for-loop below.
Removes the segments that were not merged.