1 Stowers Institute for Medical Research R/Bioconductor Discussion Group Earl F. Glynn Scientific Programmer 17 July 2007 Using Color in R 2 Using Color in R • Color Basics in R •Color Spaces •Color Gradients / Color Ramps •Color Blindness •Why Don’t Screen Colors Match Printout? •Colors Tips 3 Using Color in R Color Basics: Palette > barplot(rep(1,8), yaxt="n", col=1:8) > palette() [1] "black" "