[Solved] Data selection error [closed]
Your code seems to be completely backwards to what you’re trying to achieve: “For each gene (in d2) which SNPs (from d1) are within 10kb of that gene?” First of all, your code for d1$matched is backwards. All your p‘s and d2s should be the other way round (currently it doesn’t make much sense?), giving … Read more