/p>
</div>
<div id="rles-and-granges" class="section level2">
<h2>Rles and GRanges</h2>
<p><code>Rle</code>â€™s can also be constructed from <code>GRanges</code>.</p>
<p>This often involves <code>RleList</code> where each element of the list is a chromosome. Surprisingly, we do not yet have an <code>RleList</code> type structure which also contains information about say the length of the different chromosomes.</p>
<p>Let us see some examples</p>
<pre class="r"><code>gr &lt;- GRanges(seqnames = &quot;ch