Skip to contents

A minimal R package with a Charité-styled ggplot2 theme, visual identity colour palettes, and publication-ready figure export for manuscripts and slides.

Installation

You can install the charite package from GitHub with:

# install.packages("devtools")
devtools::install_github("johannesjuliusm/charite")

To install the package on a machine with proxies, e.g., the standard Windows PC in the Charité network, find more detailed installation instructions in the installation vignette.

Examples

Visualize your data with theme_charite() to match the corporate style.

Preview the available colour palettes.

Workflow

# create your ggplot2 figure
p <- ggplot(data, aes(x = x, y = y)) +
        geom_point(size = 3, color = charite_colors$HIMBEER) # use any of the Charité colors
        
# format the plot style
p <- p + theme_charite()

# alternatively, customize the plot style further
# for example by specifying a font
p <- p + theme_charite(font = "Charité Text Office")

# easily save your plot in a format optimized for slides and publications
nice_save("myfigure.png", p, layout = "slides")

Available Functions

How to cite

If you use the charite R package in your work, please cite:

@software{mohn2026charite,
  author    = {Mohn, Johannes Julius},
  title     = {charite: Charité-styled publication-ready visualization in R},
  year      = {2026},
  version   = {0.5.1},
  url       = {https://github.com/johannesjuliusm/charite},
  license   = {MIT}
}

License

MIT © 2026 Johannes Julius Mohn

Report bugs here.

Acknowledgements

Developed by Johannes Julius Mohn (Max Planck School of Cognition & Charité – Universitätsmedizin Berlin)
Get in touch via

The hex logo was designed by Valentina Nercolini.
charite is now also available as a python package developed by Pedram Ramezani.