This function assigns colors to different ranges of angle values, with an option to use colorblind-friendly colors from the viridis palette.
Examples
if (FALSE) { # \dontrun{
col <- Locus_to_colour(x = c(0, 25, 45, 65, 90), viridis = TRUE)
} # }
This function assigns colors to different ranges of angle values, with an option to use colorblind-friendly colors from the viridis palette.
if (FALSE) { # \dontrun{
col <- Locus_to_colour(x = c(0, 25, 45, 65, 90), viridis = TRUE)
} # }