I am trying to see when a umap plot looks best. I am changing resolution, initial position, etc. with iterations. Every time I run sc.tl.umap it over writes the last X_umap key in the .obsm data column. I am not sure how to define a new key?
I tried adata.obsm['X_new_umap] = sc.tl.umap(adata,…) but it returns a ‘‘NoneType’ object has no attribute ‘shape’’ error.