Set Color Style for Plotting — use_color_style (original) (raw)
Set Color Style for Plotting
use_color_style(
style,
mode = c("SBS", "copynumber", "DBS", "ID", "RS"),
method = "Wang"
)
Arguments
one of 'default' and 'cosmic'.
only used when the style
is 'cosmic', can be one of "SBS", "copynumber", "DBS", "ID".
used to set a more custom palette for different methods.
Examples
use_color_style("default")
#> [1] "cyan" "red" "brown" "purple" "green" "blue"
#> [7] "black" "magenta" "orange" "gray50" "darkgreen" "yellow"
#> [13] "#33FF00" "#00FF66" "#00FFFF" "#0066FF" "#3300FF" "#CC00FF"
#> [19] "#FF0099"
use_color_style("cosmic")
#> [1] "#03BDEF" "#010101" "#E42926" "#CBCACA" "#A2CF63" "#ECC7C5" "#A020F0"
#> [8] "#A52A2A" "#FFA500"