lass="p">:</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Permutation test to calculate proximity enrichment frequency between cell type pairs.</span>

<span class="sd">    Parameters</span>
<span class="sd">    ----------</span>
<span class="sd">    adata : AnnData</span>
<span class="sd">        An anndata object containing the data.</span>
<span class="sd">    groupby : str, optional</span>
<span class="sd">        Column name to group by, by default &qu