-
Notifications
You must be signed in to change notification settings - Fork 27
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
IMP: da-barplot should use consistant colors for enriched/depleted #137
Comments
Hi! Not sure if this is the correct way of suggesting how to implement an improvement inside GitHub, but here I come: I think this could be achieved making colors explicit when generating the Vega code. Inside Layer -> Encoding -> Color, we can add the following:
I'm not sure these orange and blue are the original tones though. The forum x-ref mentioned in the OP contains an example of this. |
I like code suggestions in issues! 👍 |
I may have some spare time this week so I'll try! |
Improvement Description
Make the color scheme consistent, even when all graphed features are only enriched or only depleted
Current Behavior
"enriched" and "depleted" are filled with in blue and orange, except when all features passing filter have the same sign, then they are all blue.
Proposed Behavior
The color scheme should be consistent (🟦 & 🟧 or whatever), even when all results have the same sign.
References
forum x-ref: https://forum.qiime2.org/t/ancombc-barplot-colors/32082
The text was updated successfully, but these errors were encountered: