How to specify custom palette for a category?
See original GitHub issueHello!
cellxgene is looking great! I just got a brief demo from @colinmegill and one of my questions is, how can one specify a custom color palette for a particular category? For example, for the paper we had this palette in a centralized place that we could grab, but could also have as a column in the scanpy anndata object. If there was e.g. cell_ontology_class
and cell_ontology_class_color
columns, would that work?
Warmest,
Olga
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (8 by maintainers)
Top Results From Across the Web
Custom palette for categories - YouTube
This video was in response to a question at Painter Factory. I didn't repeat the question, so I set the video to unlisted...meaning...
Read more >How to use your own color palettes with Seaborn
How to use your own color palettes with Seaborn · import numpy as np import pandas as pd import seaborn as sns ·...
Read more >Create Custom Color Palettes
Create custom color palettes · In the Preferences. · Save the Preferences. · Open a data source, such as the Superstore - Sample...
Read more >Custom Chart Colors and Brand New Palettes
To get started, under Settings > Themes & Colors, create a name for your color palette and select a palette type to start...
Read more >D.5 Defining and using custom colors | Data Science for ...
And once we defined new color palettes, we need to know how we can use them in ... which defines color-class objects that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@wikiselev && @cakirb add support to this issue (thanks for the feedback!) and points to https://bioconductor.org/packages/release/bioc/vignettes/iSEE/inst/doc/ecm.html as a potential pattern.
Hi Colin! Thanks for the heads up. It would be a miss, if you asked me. We envision using cellxgene complimentary to our published work - and having colors matched between the paper and the cellxgene would be great! Unfortunately, none of our group members is an expert in JS, so I guess contributing code is out of reach for us. Is there another way how we could help you with that?