Description Usage Arguments Value Examples
DELFI Diagnostics visual identity ggplot2 theme
1 | theme_delfi(base_size = 10, italicize_strip = FALSE, gotham_font = TRUE)
|
base_size |
(int) Base size for theme, default is 8 |
italicize_strip |
(bool) Italicize strip titles (for gene names), default is FALSE |
gotham_font |
(bool) Use Gotham font family, default is TRUEuse |
a ggplot2 theme
1 2 3 4 5 | ggplot2::ggplot(data = data.frame(x = c(1, 2), y = c(2, 3), g = c('a', 'b')),
mapping = ggplot2::aes(x = x, y = y))+
theme_delfi(italicize_strip = TRUE)+
ggplot2::geom_point()+
ggplot2::facet_grid(ggplot2::vars(g))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.