display.colours {BoutrosLab.plotting.general} | R Documentation |
Displays R colors and their corresponding R grey colours.
display.colours(
cols,
names = cols
);
cols |
Vector of colours to be displayed. |
names |
The names of the colours. Defaults to equal the input of cols |
For further information on colour schemes, refer to the colour guide (in Resources/general)
Christine P'ng
display.colours('red');
# Red and Grey are displayed
display.colours(default.colours(5));
# Five default colours and their grey values are displayed
test.colours <- force.colour.scheme(c('skin','nerve'), 'tissue');
display.colours(test.colours);