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

Helper function to use adata.uns[obs_set_col + "_colors"] for initial obs set colors #340

Open
keller-mark opened this issue Apr 29, 2024 · 0 comments
Labels
feature New feature or request

Comments

@keller-mark
Copy link
Member

As suggested in #339

As a ease of use functionality, It would be handy if colors could be manually set with the adata.uns[f"{obs_category_column}_colors"] which is a list of RGB values sorted by adata.obs[obs_category_column].categories.cat. Many scanpy functions take into account these manual color settings as well when plotting.

@keller-mark keller-mark added the feature New feature or request label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant