Skip to content

colors are not continuous. #32

Open
@Sanrrone

Description

Hi, When the are several categories, the little squares loss their color continuity, hindering the analyze step, the code is:

library(RColorBrewer)
library(waffle)
cl <- colors(distinct = TRUE)
set.seed(15887) # to set random generator seed
kolor <- sample(cl, 25)

waffle(c("organophosphate catabolic process"=8,"transition metal ion transport"=7,"multi-organism cellular process"=6,"growth"=6,"cellular biogenic amine biosynthetic process"=6,"protein maturation"=6,"indole-containing compound metabolic process"=6,"reactive oxygen species metabolic process"=5,"pyrimidine nucleobase metabolic process"=5,"carbohydrate phosphorylation"=4,"negative regulation of hydrolase activity"=4,"carbohydrate derivative transport"=4,"glutamate metabolic process"=4,"indole-containing compound biosynthetic process"=3,"protein oligomerization"=3,"regulation of cellular component movement"=3,"organophosphate ester transport"=3,"(obsolete) ATP catabolic process"=3,"response to acid chemical"=2,"hydrogen peroxide metabolic process"=2,"lipid oxidation"=2,"glycosyl compound catabolic process"=2,"positive regulation of translation"=2,"protein autophosphorylation"=2,"dicarboxylic acid transport"=2), 
       title = "Biological Proccess",
       colors = kolor

is there an solution ?, I attach the pdf
regards

biologicalP.pdf
)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions