R: How to Break down overlapping genomic regions into non-overlapping segments with overlap count
I have a toy dataframe where the first 3 columns signify chromosome location, and the fourth column shows whether consecutive rows overlap.
I have a toy dataframe where the first 3 columns signify chromosome location, and the fourth column shows whether consecutive rows overlap.