Skip to content

How to make node legends for paga graph #819

Answered by WeilerP
Chengwei94 asked this question in Q&A
Discussion options

You must be logged in to vote

@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 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).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Chengwei94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #818 on February 04, 2022 06:53.