theme_map: Theme for Plot Heatmaps

Description Usage Value Examples

View source: R/themes.R

Description

Theme for Plot Heatmaps

Usage

1

Value

ggplot2 theme

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(ggplot2)
# Dummy data
x <- LETTERS[1:20]
y <- paste0("var", seq(1,20))
data <- expand.grid(X=x, Y=y)
data$Z <- runif(400, 0, 5)
# Heatmap
ggplot(data, aes(X, Y, fill= Z)) +
  geom_tile()+
  theme_map()

Ehyaei/MPIThemes documentation built on Jan. 13, 2022, 7:28 p.m.