The format is:
chr [1:6] "#1B9E77" "#D95F02" "#7570B3" "#66C2A5" "#FC8D62" "#8DA0CB"
Details
3x2 color scheme.
These colors look like a 3x2 color array when run through
the vischeck simulator to see how they look for the three most
common color vision deficiencies: Deuteranope, Protanope, Tritanope.
References
About 10% of the population have color deficient vision.
Your job is make your graphs legible to everyone.
Download ImageJ from http://rsb.info.nih.gov/ij/ and
VischeckJ from
http://vischeck.com and follow the instructions in those sites.
This program will allow you to simulate color deficient vision on your computer.
On my Mac, I need to doubleclick ij.jar to open the program. Then open
the "Vischeck Panel" on the Plugins menu and navigate to a png file with
the "File Open" menu. Click on each of the three types of color
deficiency.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(HH)
Loading required package: lattice
Loading required package: grid
Loading required package: latticeExtra
Loading required package: RColorBrewer
Loading required package: multcomp
Loading required package: mvtnorm
Loading required package: survival
Loading required package: TH.data
Loading required package: MASS
Attaching package: 'TH.data'
The following object is masked from 'package:MASS':
geyser
Loading required package: gridExtra
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/HH/col3x2.Rd_%03d_medium.png", width=480, height=480)
> ### Name: col3x2
> ### Title: col3x2 color dataset
> ### Aliases: col3x2
> ### Keywords: datasets
>
> ### ** Examples
>
> data(col3x2)
> ## Not run:
> ##D library(RColorBrewer)
> ##D library(grid)
> ##D library(lattice)
> ##D col3x2 <- c(brewer.pal(n=3, "Dark2"), brewer.pal(n=3, "Set2"))
> ##D save(col3x2, file="col3x2.rda")
> ##D ##
> ##D grid.newpage()
> ##D draw.key(list(text=list(c("Dark2", "Set2")),
> ##D rectangles=list(col=col3x2[c(1,4,2,5,3,6)],
> ##D cex=1.5, size=8, height=.7, border=FALSE),
> ##D columns=3,
> ##D between=1,
> ##D padding.text=8),
> ##D draw=TRUE)
> ## End(Not run)
>
>
>
>
>
> dev.off()
null device
1
>