Closed dweemx closed 2 years ago
It would be useful for a user to be able to set custom colors for a given annotation.
The idea would be to extend the JSON metadata with a new colors key:
colors
{ 'name': 'batch', 'values': ['0', '1'], 'colors': ['#00FF00', '#800080'] }
Each color would be assigned to its respective annotation value (order matters). In this example this would be:
0
#00FF00
1
#800080
Loom files won't require to have this new colors key in order for SCope to work.
The result would look like:
It would be useful for a user to be able to set custom colors for a given annotation.
The idea would be to extend the JSON metadata with a new
colors
key:Each color would be assigned to its respective annotation value (order matters). In this example this would be:
0
=>#00FF00
1
=>#800080
Loom files won't require to have this new
colors
key in order for SCope to work.The result would look like:![image](https://user-images.githubusercontent.com/16015936/133412204-5d924cbb-f873-494e-9300-c5b4c9e4a208.png)