An unofficial package to help create plots that align with the colour themes of the the MRC Human Genetics Unit and other units at the Institute of Genetics and Cancer, Edinburgh. There are functions to return the colours used in each respective theme, return palettes that interpolate between the colours in each respective theme and layers that can be added to ggplot2
plots to automatically scale colour and fill aesthetics.
These palettes were created to align with the colour schemes of the respective institutions which themselves were not designed for use on plots. Therefore, please be thoughtful with your use of these colours and how they may effect colourblind people in interpretting the plots. More information on making your scientific plots colourblind friendly can be found in the Colour Blind Friendly Plotting section.
Installation
You can install the development version of HGUTheme from GitHub with:
# install.packages("devtools")
devtools::install_github("hwarden162/HGUTheme")
Colour Codes
UKRI Colours
-
ukri_dark_blue()
-#2D2E5F
-
ukri_mid_blue()
-#3A88A9
-
ukri_light_blue()
-#00BAD2
-
ukri_dark_purple()
-#2D2E5F
-
ukri_mid_purple()
-#874598
-
ukri_light_purple()
-#D263E5
-
ukri_orange()
-#F2BC44
CRUK Colours
-
cruk_dark_blue()
-#2E0188
-
cruk_light_blue()
-#00B6EA
-
cruk_pink()
-#EE0286
-
cruk_grey()
-#C5C5C5
CGEM Colours
-
cgem_blue()
-#0E2E5A
-
cgem_red()
-#B62641
EastBIO Colours
-
ebio_blue()
-#284E96
-
ebio_green()
-#386C4D
-
ebio_orange()
-#E07E38
-
ebio_red()
-#BB2D4A