-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Should come back to see how we can improve the color palettes for PPV and NPV.
A few different goals:
- Improve clarity and differentiation between natural thresholds (25, 50, 75%)
- Make sure the palettes are OK for colorblind people
- Add ability to choose from different palettes
Example code of palettes attempts:
# https://www.google.com/search?q=color+picker
if (PPV_NPV == "PPV") {
# Paleta_DV = c("white", "grey", "gray30", "yellowgreen", "chartreuse4") #Original
# # Paleta_DV = c("#ffffff", "#777777", "#464646", "#9ACD32", "#458B00") #Hex names
Paleta_DV = c("white", "grey", "1b2610", "yellowgreen", "chartreuse4") #Original
# Paleta_DV = c("#ffffff", "#666666", "#1b2610", "#9ACD32", "#458B00") # More contrast greys
} else if (PPV_NPV == "NPV") {
# Paleta_DV = c("white", "grey", "gray30", "yellowgreen", "chartreuse4")
# Paleta_DV = c("#ffffff", "#777777", "#464646", "#ff8e47", "#cc4e00") # Orange
# Paleta_DV = c("#ffffff", "#777777", "#464646","#b66afc", "#420080") # Violet
Paleta_DV = c("#ffffff", "grey", "#190d24","#bd7afa", "#420080") # Violet
}