 <span class="s1">&#39;leaves&#39;</span><span class="p">,</span> <span class="n">return_as_df</span> <span class="o">=</span> <span class="kc">False</span><span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Compute the matrix of least common ancestors. </span>

<span class="sd">        If type is `leaves`, then the rows and columns of the matrix are determined by the leaf sets. </span>

<span class="sd">        If type is `labels`, th