Overlap two variable
I have two variable (A) and (B). I want to cover the maximum alignment overlap using both variables (A) and (B) which is nearly 100. This is my input is like that
ID Variable_A Variable_B
PDD1 9 42
PDD2 34 60
PDD3 70 90
PDD4 50 100
So, I want to cover the maximum number range in this variables. My desire output like this
PDD1
PDD2
PDB4
• 1,143 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Could you rephrase your question please ? and define how Variable_A and _B are overlap ? and also what are the values in the dataframe ?
I think "PDD3 70-90" is already covered by "50-100", so it drops off.
Might be a job for GenomicRanges::reduce().