theme_IS {ImmuneSpaceR} | R Documentation

## 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.

### 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

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

[Package ImmuneSpaceR version 1.6.2 Index]