Skip to contents

A clean ggplot2 theme designed for single-cell analysis plots. Based on thisplot::theme_this from the scop ecosystem, renamed to theme_sc.

Usage

theme_sc(aspect.ratio = NULL, base_size = 12, ...)

Arguments

aspect.ratio

Aspect ratio of the panel. Default is NULL.

base_size

Numeric. Base font size (default 12).

...

Arguments passed to theme.

Value

A ggplot2 theme object.

See also

Examples

library(ggplot2)
p <- ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(cyl))) +
  geom_point()
p + theme_sc()