t">"chromosome"</span>, <span class="st">"start"</span>, <span class="st">"end"</span>), <span class="dt">max_distance=</span><span class="dv">10</span>)</a></code></pre></div>
<pre><code>## # A tibble: 4 x 6
##      id bla   chromosome start   end cluster_id
##   &lt;int&gt; &lt;fct&gt; &lt;fct&gt;      &lt;dbl&gt; &lt;dbl&gt;      &lt;dbl&gt;
## 1     1 a     chr1         100   150          0
## 2     2 b     chr1         120   250          0
## 3     3 c     chr2         300   350          1
## 4     4 d