Learn R Programming

Seurat (version 2.1.0)

DarkTheme: Dark Theme

Description

Add a dark theme to ggplot objects

Usage

DarkTheme(...)

Arguments

...

Extra parameters to be passed to theme()

Value

A ggplot2 theme object

See Also

theme

Examples

Run this code
# NOT RUN {
df <- data.frame(x = rnorm(n = 100, mean = 20, sd = 2), y = rbinom(n = 100, size = 100, prob = 0.2))
p <- ggplot(data = df, mapping = aes(x = x, y = y)) + geom_point(mapping = aes(color = 'red'))
p + DarkTheme(legend.position = 'none')

# }

Run the code above in your browser using DataLab