an class="va">w</span> <span class="op">/</span> <span class="fu"><a href="https://rdrr.io/r/base/sum.html" class="external-link">sum</a></span><span class="op">(</span><span class="va">w</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">cm1</span> <span class="op">&lt;-</span> <span class="fu">consensus_matrix</span><span class="op">(</span><span class="va">x</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">cm2</span> <span class=