I am currently trying to use genomicranges (or any other package) in order to find overlapping regions on chromosomes when matching patients to themselves. In other words, I am trying to find a working way to tell R to delete the patients who have overlapping start end numbers BUT only comparing the patients to themselves.
I need a code in order to do this by matching the patients only to themselves and not to other patient ID's.
If anyone has any advice please post! And thank you to any advice in advance, it is greatly appreciated.