Set Color Style for Plotting

use_color_style(
  style,
  mode = c("SBS", "copynumber", "DBS", "ID", "RS"),
  method = "Wang"
)

Arguments

style

one of 'default' and 'cosmic'.

mode

only used when the style is 'cosmic', can be one of "SBS", "copynumber", "DBS", "ID".

method

used to set a more custom palette for different methods.

Value

color values.

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"