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.
theme_IS(base_size = 12)A numeric. Base font size.
A theme object
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.
library(ggplot2)
p <- ggplot(data = mtcars) +
geom_point(aes(x = mpg, y = cyl, color = hp)) +
facet_grid(vs ~ am)
p + theme_IS()