 notranslate"><div class="highlight"><pre><span></span><span class="n">sp</span><span class="o">.</span><span class="n">tl</span><span class="o">.</span><span class="n">neighborhood_analysis</span><span class="p">(</span>
    <span class="n">adata_com</span><span class="p">,</span>
    <span class="n">cluster_key</span><span class="o">=</span><span class="s1">&#39;cluster&#39;</span><span class="p">,</span>
    <span class="n">sample_key</span><span class="o">=</span><span class="s1">&#39;sample&#39;</sp