Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sublevels in legends of plots #2024

Open
1 of 5 tasks
gjhuizing opened this issue Oct 28, 2021 · 2 comments
Open
1 of 5 tasks

Sublevels in legends of plots #2024

gjhuizing opened this issue Oct 28, 2021 · 2 comments

Comments

@gjhuizing
Copy link

gjhuizing commented Oct 28, 2021

  • Additional function parameters / changed functionality / changed defaults?
  • New analysis tool: A simple analysis tool you have been using and are missing in sc.tools?
  • New plotting function: A kind of plot you would like to seein sc.pl?
  • External tools: Do you know an existing package that should go into sc.external.*?
  • Other?

Hi! It would be great if Scanpy could create sublevels of annotation like the the attached figure 3D of the seurat v4 paper. This would make legends clearer in cases where you have different subtypes of T cells for example.

For instance the color argument could take as an input a dictionary with the label categories.

@ivirshup
Copy link
Member

ivirshup commented Nov 3, 2021

Is that something that can be created directly from Seurat?

I think making those consistently look good may be beyond my ability, so I think we'd benefit from an example to work from here. I also suspect the plot here was manually put together.

@gjhuizing
Copy link
Author

Indeed it may have been put together maually!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants