ImmuneSpaceR (version 1.0.2)

theme_IS: theme_IS

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

theme_IS(base_size = 12)

Arguments

base_size
A numeric. Base font size.

Value

A theme object

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.

Examples

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

Run the code above in your browser using DataCamp Workspace