cBioPortal / icebox

very low priority issues
0 stars 0 forks source link

Color chooser for Oncoprint annotation tracks #529

Open eseffar opened 10 months ago

eseffar commented 10 months ago

Hello, It would be great to allow users to change the colors in the tracks like on the oncoprint below with the colors of their choice. image

Thanks in advance, Evan

schultzn commented 10 months ago

@alisman Not sure how much work this would be, but it would save some people a lot of work manually changing colors in Adobe Illustrator. As you can see in the example, most tracks are red and blue.

alisman commented 10 months ago

This is definitely doable. Is it accurate that you would only want to change the color at the granularity of the legend? I.e. you could just click on a legend item and set its color? Or would you want the total cell level control that you would get in Illustrator?

Would this become a setting that gets persisted for all queries?

--Aaron

On Wed, Jun 28, 2023 at 5:43 PM schultzn @.***> wrote:

@alisman https://github.com/alisman Not sure how much work this would be, but it would save some people a lot of work manually changing colors in Adobe Illustrator. As you can see in the example, most tracks are red and blue.

— Reply to this email directly, view it on GitHub https://github.com/cBioPortal/icebox/issues/529, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABNRGIRV6SRTXFGDA32PQ3XNSQP5ANCNFSM6AAAAAAZXVYSIU . You are receiving this because you were mentioned.Message ID: @.***>

eseffar commented 10 months ago

I would say the first one, be able to change the color at the granularity of the legend. It would be great to input a hexadecimal color code for each group in a legend or just have access to different color palettes. It would be nice if it's get persisted for all queries but I don't know how difficult it would be to code. Thank you!