palettes: Color palettes related to mouse genetics for use with...

palettesR Documentation

Color palettes related to mouse genetics for use with ggplot2.

Description

Color palettes related to mouse genetics for use with ggplot2.

Usage

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)

Arguments

...

passed through to underlying ggplot2 functions

misspell

logical; if TRUE, use common misspelling for name of strain 'NZO'

Details

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 NAs.) 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.

See Also

scale_manual


andrewparkermorgan/mouser documentation built on May 14, 2022, 8:06 p.m.