Skip to contents

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.

Usage

ShrinkReprTMP(segments, granges_obj)

Arguments

segments

A data frame: segment data.

granges_obj

A GRanges object.