twentycol: Return named vector of 20 custom colors

Description Usage Arguments

View source: R/graphing.R


Use this function to return a custom named list of 20 colors. These are somewhat useful for metagenomic graphs.





If blank: return all 20 colors. If a single integer, return that amount of colors. Otherwise, specify the colors, by name. Possible colors: "red", "green", "blue", "orange", "purple", "cyan", "magenta", "lime", "pink", "yellow", "teal", "lavender", "brown", "beige", "maroon", "mint", "olive", "apricot", "navy", "grey".

'@returns Vector of colors. If specifying names, a named vector is returned.

ejurga/ejuRga.Tools documentation built on March 19, 2021, 9:55 p.m.