Entering edit mode
Chee Lee
▴
10
@chee-lee-4473
Last seen 10.6 years ago
Hi all,
Is there a bioconductor package that given a data frame with an 'end'
and
'start' of each sequence region, I can parse it so that the output is
set of
regions that include only those regions that do not overlap? For
example:
Input:
Start
End
1
10
8
20
13
34
Output:
Start
End
1
7
11
12
20
34
I know there is IRanges, but the reduce() function reduces the input
so that
there are no redundant regions, which is not what I want (rather, I
would
like to remove those redundant regions). Any help is much
appreciated!
Thank you,
CL
[[alternative HTML version deleted]]