theme_IS: theme_IS

Description Usage Arguments Details Value Examples

View source: R/theme.R

Description

Theme that matches ImmuneSpace's graphic style. The theme modifies the background, the grid lines, the axis, and the colors used by continuous and gradient scales.

Usage

1
theme_IS(base_size = 12)

Arguments

base_size

A numeric. Base font size.

Details

List of modified ggplot2 elements: panel.background, panel.grid.major, panel.grid.minor, axis.ticks, axis.line.x, axis.line.y, plot.title, and strip.background.

The default scale_fill_gradient, scale_fill_continuous, scale_colour_gradient and scale_colour_continous are also replaced by a custom scale.

Value

A theme object

Examples

1
2
3
library(ggplot2)
p <- ggplot(data = mtcars) + geom_point(aes(x = mpg, y = cyl, color = hp)) + facet_grid(vs ~ am)
p + theme_IS()

ImmuneSpaceR documentation built on Dec. 21, 2020, 2:01 a.m.