display.colours {BoutrosLab.plotting.general} | R Documentation |
Function to display R colors, as well as corresponding R grey colours.
Description
Displays R colors and their corresponding R grey colours.
Usage
display.colours(
cols,
names = cols
);
Arguments
cols |
Vector of colours to be displayed. |
names |
The names of the colours. Defaults to equal the input of cols |
Details
For further information on colour schemes, refer to the colour guide (in Resources/general)
Author(s)
Christine P'ng
Examples
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);
[Package BoutrosLab.plotting.general version 7.1.0 Index]