palettes | R Documentation |
ggplot2
.Color palettes related to mouse genetics for use with ggplot2
.
scale_color_cc(..., na.value = "grey", misspell = FALSE) scale_color_CC(..., na.value = "grey") scale_fill_cc(..., misspell = FALSE, na.value = "grey") scale_fill_CC(..., na.value = "grey") scale_color_ychrom(..., na.value = "grey") scale_colour_ychrom(...) scale_fill_ychrom(..., na.value = "grey") scale_color_mus(..., na.value = "grey") scale_fill_mus(..., na.value = "grey") scale_color_sex(..., na.value = "grey", lighter = FALSE) scale_fill_sex(..., na.value = "grey", lighter = FALSE) scale_shape_sex(..., na.value = 18) scale_colour_cc(...) scale_colour_mus(...) scale_colour_sex(...) scale_color_chromtype(..., include.Y = FALSE) scale_colour_chromtype(...) scale_fill_chromtype(..., include.Y = FALSE)
... |
passed through to underlying |
misspell |
logical; if |
Palettes with lowercase names ('cc') are indexed by full strain names; those indexed by uppercase names ('CC'), by strain codes. Both one-letter and two-letter strain codes are supported.
The default behavior of ggplot2
scales is to remove from the legend all factor levels not present in the data, and to hide from the plot
any values which are not represented in the scale (which are coerced to NA
s.) Use na.value
to override this behavior.
All scale_colour_*
functions are just aliases to their scale_color_*
counterparts, to be friendly to UK-style spellers.
scale_manual
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.