I am working on a way to find sense/antisense encoded transcripts and the amount of overlap they have.
One final piece of code I cant get together: I have a two dataframes (GRanges) with EnsT ids and start and end position of each transcript, both for sense and antisene encoded transcript. From this I want to calculate the amount of overlap of the two corresponding sense/antisense transcripts that are in the same row.
Here comes the issue: findOverlaps searches all the data of a GRanges object, instead I need it to only search for overlap in the same row number for both GRanges object. Probably easy to do, but cant find a solution in the Documentation.