View source: R/pcawg.colours.R
pcawg.colours | R Documentation |
Return standard PCAWG colour palettes. Case insensitive.
pcawg.colours(
x = NULL,
scheme = NULL,
fill.colour = 'slategrey',
return.scheme = FALSE);
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. |
For further information on colour schemes, refer to the plotting guide.)
Jennifer Aguiar & Constance Li
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.