tion</span> <span class="o">=</span> <span class="n">pd</span><span class="o">.</span><span class="n">DataFrame</span><span class="p">(</span><span class="n">comm</span><span class="p">[</span><span class="s1">&#39;contact_affinity&#39;</span><span class="p">][</span><span class="s1">&#39;p_vals&#39;</span><span class="p">],</span> <span class="n">index</span><span class="o">=</span><span class="n">adata</span><span class="o">.</span><span class="n">obs_names</span><span class="p">,</span>
                