I have 2 data sets each containing Start,End,and Chromosome column names. I want to compare the values from the two files and see if there are any regions that dont overlap( taking into account start,end,and chrom positions)and include them on a list using R. What is the best way to run through all the data points from both files and compare them
File Example 1:
Start End Chr
0 4 1
26 31 2
48 55 3
File Example 2:
Chr Start Stop
1 0.779727 4.836056
1 0.852863 3.700089
2 5.334127 21.181346
2 6.218477 6.734267
Thanks