Skip to contents

Return standard PCAWG colour palettes. Case insensitive.

Usage

pcawg.colours(
  x = NULL, 
  scheme = NULL, 
  fill.colour = 'slategrey', 
  return.scheme = FALSE);

Arguments

x

Chracter vector with terms to be mapped to colours. Ignored if scheme='all' or return.scheme=TRUE.

scheme

String specifying desired colour scheme. To see all available schemes, use scheme='all', returns.scheme=FALSE.

fill.colour

Unrecognized output will be filled with this colour. Default to 'slategrey'.

return.scheme

TRUE/FALSE. Set to true to return full specified scheme. Set to false to map x to colours.

Details

For further information on colour schemes, refer to the plotting guide.)

Author

Jennifer Aguiar & Constance Li