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

Color customization in static tSNE/UMAP scatter plots #668

Closed
carlocolantuoni opened this issue Mar 11, 2024 · 6 comments
Closed

Color customization in static tSNE/UMAP scatter plots #668

carlocolantuoni opened this issue Mar 11, 2024 · 6 comments
Assignees

Comments

@carlocolantuoni
Copy link

Currently the display curator automatically chooses a dot size for static scatter plots based on the number of dots being plotted. this works well in most situations, but causes issues in some cases - the dots are so big they go off the plot when the number of dots is very small (10 or 20). On the other end of the things, when there are very many dots in a large scRNA-seq dataset, and with some of the new large spatial datasets, having the option to set or control the dot size would be very helpful.

similarly, the color scale is set automatically to the yellow-orange scale. could we incorporate the black-centered diverging color scale @adkinsrs developed for PCA projection as an option here? possibly along with other preset color scales from scanpy?

@carlocolantuoni
Copy link
Author

sorry - looks like this can be combined with: #618

@adkinsrs
Copy link
Member

This will be done in the "ui-v2" branch

@adkinsrs adkinsrs changed the title Dot size and color customization in static tSNE/UMAP scatter plots Color customization in static tSNE/UMAP scatter plots Mar 11, 2024
@adkinsrs
Copy link
Member

I think the first step will be to add predefined color scales as choices. Then after that, I will focus on adding the special PCA color scale as an all-around option, though I'd rather not force two-way diverging colorscales on everything that chooses that option. Rather, I would make a "two-way" checkbox to let the user choose.

@carlocolantuoni
Copy link
Author

carlocolantuoni commented Mar 11, 2024 via email

@carlocolantuoni
Copy link
Author

carlocolantuoni commented Mar 11, 2024 via email

adkinsrs added a commit that referenced this issue Mar 12, 2024
@adkinsrs
Copy link
Member

Implemented and posted to nemo-devel. Do note that curation configuations are with respect to gene expression and while the configurations will be applied to the projections, PCAs will still implement their own two-way "unique" colorscale that will override the existing colorscale configuration.

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