title: How can I find and highlight clusters of values within a certain range of each other in r or python?
body: <p>I have a list of numbers <strong>(all larger than 10,000,000)</strong> and I want to find clusters of numbers within <strong>5,000,000</strong> of one another (these correspond to columns in a manhattan plot for SNP mutations in genes).</p>
  
  <p>Is there a way to do cluster analysis on the list so I can write a file where: 
  <code>If [i]+1 &lt; [i]+5,000,000</code>. </p>
  
  <p>That it will highlight those values in the file? I have it as excel file for now but can change format. 
  Thanks.</p>