I have been given a chromosome number and range (example:chr1:20369369-20490791) and I need to be able to find out if this range falls within another chromosomal range and if it does not how far away from the range is it?
Does anyone know any R code or anyway to do this using excel?