arwqiime
(ARW)
August 30, 2018, 9:04am
1
I have seen the topic on color schemes in taxa barplots, but I'm guess that my question is somewhat different from it (and it has been closed already).
In taxonomic bar plots, the default color palette 'schemeAccent' seems to contain a fixed lineage of colors for taxonomic levels, obviously starting at the least abundant taxonoic group (see comparioson of two independent analyses in the attachment).
Is there any chance to use this color scheme starting with the same color for the most abundant taxonomic group so that the most abundant group has always the same color?
Thank you for any suggestion!
Best regards!
2 Likes
Hey there @arwqiime !
Unfortunately I don't have much of a solution for you, besides exporting to SVG and manually re-coloring in a tool like Illustrator or Inkscape.
I did open up a new issue, though, to track the development of this. Thanks!
opened 06:53PM - 03 Sep 18 UTC
closed 12:26AM - 14 Apr 21 UTC
type:bug
help wanted
good first issue
bug-sev:2|low
bug-type:1|cosmetic
lang:javascript
scope:0|this-project
src:forum
time:1|short
type:improvement
weight:0|someday
Hacktoberfest
**UX Improvement Description**
`barplot` currently cycles discrete color scales… starting from the *least* abundant feature. It would be more intuitive to cycle the colors starting from the *most* abundant feature.
**Current Behavior**
`barplot` currently cycles discrete color scales starting from the *least* abundant feature.
![c0301caab6fca72b5137302a64387b8478d8dd5b](https://user-images.githubusercontent.com/274668/44999027-20200480-af6f-11e8-8616-394eeb555ebe.jpeg)
In the screenshot above, we can see that the least abundant feature starts with green between both plots. The only way that the *most abundant* feature will ever be the same between plots is if the same number of features are present.
**Proposed Behavior**
Cycle colors starting from most abundant, rather than least abundant.
**Comments**
1. Ultimately it would be great if we had a `q2:color` directive in metadata, allowing colors to be controlled more explicitly
**References**
1. [Forum post.](https://forum.qiime2.org/t/taxonomic-bar-plots-color-palette/5839)
system
(system)
Closed
October 5, 2018, 1:01am
5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.