Advanced Single-cell Omics (nbisweden.github.io)
tmp = pd.crosstab(adata.obs['clusters'],adata.obs['library_id'], normalize='index')tmp.plot.bar(stacked=True).legend(loc='upper right')
京公网安备 11010502049817号