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

Interactive control of color map? #46

Closed
wagnerde opened this issue Nov 2, 2024 · 2 comments
Closed

Interactive control of color map? #46

wagnerde opened this issue Nov 2, 2024 · 2 comments

Comments

@wagnerde
Copy link

wagnerde commented Nov 2, 2024

Datamapplot is an incredible package and I would love to use this for interactive exploration of single cell RNA seq datasets. However, for scRNAseq data, the ability to interact with additional (non-categorical) features is important. If the user were able to dynamically overlay alternative color mappings onto the data points (e.g. expression levels of individual genes, PCA scores, etc) this could add tremendous functionality. Datamapplot appears to be able to handle custom color mappings via "marker_color_array", but not interactively.

This may be outside the scope of your original vision for the tool, but could some guidance be provided on how one might incorporate such interactivity in the form of a pull-down menu /search bar ? Ideally one would be able to toggle between different sets of categorical and continuous color mappings while browsing the data.

Thank you Leland for building this beautiful plotting tool!

@lmcinnes
Copy link
Contributor

lmcinnes commented Nov 2, 2024

It is within scope, and is actually on my TODO list, but I haven't had the time to sit down and implement it properly. You can consider it one of the features I expect to have for the next major release however.

@lmcinnes
Copy link
Contributor

lmcinnes commented Jan 9, 2025

This was added with #62 and you can find docs for it here: https://datamapplot.readthedocs.io/en/latest/interactive_colormaps.html

@lmcinnes lmcinnes closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants