e_cluster</a></span>(x1, <span class="dt">by=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="st">"chromosome"</span>, <span class="st">"start"</span>, <span class="st">"end"</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     ch