Closed hputnam closed 4 years ago
It looks like for most figures, WGBS is green, RRBS is blue, and MBDBS is red. Figure 1 has WGBS and RRBS reversed.
I think on Slack we decided to move away from red/green contrasts and go with orange, green, and purple instead! I can put together a color palette and confirm accessibility with dichromat
.
WGBS: green RRBS: purple MBD-BS: orange
I have 2 different color palettes: one with 3 shades and one with 5 shades. I have the code for each palette, hex codes for each color, and the revised plot so you can see what the colors look like.
plotColors <- c(rev(RColorBrewer::brewer.pal(3, "Greens")),
rev(RColorBrewer::brewer.pal(3, "Purples")),
rev(RColorBrewer::brewer.pal(3, "Oranges"))) #Create vector of WGBS, RRBS, and MBD colors
Hex codes:
Greens: -"#31A354"
Purples:
Oranges:
plotColors2 <- c("grey20", "grey40", "grey60", "grey80", "grey100",
rev(RColorBrewer::brewer.pal(5, "Greens")),
rev(RColorBrewer::brewer.pal(5, "Purples")),
rev(RColorBrewer::brewer.pal(5, "Oranges")))
Hex codes (not including greyscale):
Greens:
Purples:
Oranges:
@yaaminiv @shellytrigg any ideas?