I was wondering if is possible to color different batches under the same color using pl.umap(). In my case I have the following batch ids: s1_b1 s1_b2, s2_b1 s2_b2, s3_b1 s3_b2, and I would like to color by s1, s2, etc.
I tried this:
s_groups = [“s1_b1 s1_b2”,“s2_b1 s2_b2”,“s3_b1 s3_b2”]
sc.pl.umap(adata, color=“batch”, group=s_groups)
I got this error: AttributeError: ‘PathCollection’ object has no property ‘group’
Im newbie in scanpy, any help would be apreciate.