pan class="c1">#subsample each origin/training data down to 1k cells per cell type, dropping cell types with fewer than 50 cells</span>
<span class="n">adata_dict</span><span class="p">[(</span><span class="s1">&#39;origin&#39;</span><span class="p">,)]</span> <span class="o">=</span> <span class="n">adt</span><span class="o">.</span><span class="n">wrappers</span><span class="o">.</span><span class="n">sample_and_drop_adata_dict</span><span class="p">(</span><span class="n">adata_dict</span><span class="p"