How to make node legends for paga graph #819
-
Hi there, this is not really a bug but just a question. How do I make the node legend appear when drawing paga. Right now, it is just the clustering labels that appear. Is there a easy way to make this happen? Heres my code : scv.pl.paga(retina1, basis='umap', size=50, alpha=0.4, color = "type", save = "paga") |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@Chengwei94, clusters used to calculate PAGA are also used for annotation. scv.tl.paga(adata, groups='cell_type')
scv.pl.paga(adata, basis='umap') will use the values of On a general note: If this is not a bug, please do not open a bug issue. The discussions are the right place to ask these kind of questions. For general inquiries regarding the actual code base, you may open a normal issue (without any labels). |
Beta Was this translation helpful? Give feedback.
@Chengwei94, clusters used to calculate PAGA are also used for annotation.
will use the values of
adata.obs['cell_type']
in the legend.On a general note: If this is not a bug, please do not open a bug issue. The discussions are the right place to ask these kind of questions. For general inquiries regarding the actual code base, you may open a normal issue (without any labels).