steveneschrich / piper

Targeted proteomics phenotyping visualization library
Other
0 stars 0 forks source link

Donut chart with many entries has strange color choices #10

Open steveneschrich opened 1 year ago

steveneschrich commented 1 year ago

When considering SCC001, RTK panel the resulting donut plot ends up with a very-close-to-white color option which ends up not showing up in the plot. There needs to be a dynamic selection of colors in a gradient relative to the number of observations.

steveneschrich commented 1 year ago

The function uses scale_fill_brewer() but either there aren't enough choices or they need to be made manually (and filled in).

steveneschrich commented 1 year ago

Some other color palettes to consider (from colorbrewer2.org) 9-class GnBu 9-class YlGnBu