Learn R Programming

SangerTools (version 1.0.2)

theme_sanger: Customised ggplot2 Theme

Description

A customised ggplot2 theme for the SangerTools package

Usage

theme_sanger()

Arguments

Value

A customised ggplot2 plot

Examples

Run this code
# NOT RUN {
library(SangerTools)
library(ggthemes)
library(ggplot2)
library(ggtext)
categorical_col_chart(SangerTools::PopHealthData, Locality) +
  theme_sanger()+
  labs(title = "Categorical Column Chart",
  x = "Locality",
  y = "Number of Patients")+
  scale_fill_sanger()
# }

Run the code above in your browser using DataLab