ggplotify

Convert Plot to 'grob' or 'ggplot' Object

Convert plot function call (using expression or formula) to 'grob' or 'ggplot' object that compatible to the 'grid' and 'ggplot2' ecosystem. With this package, we are able to e.g. using 'cowplot' to align plots produced by 'base' graphics, 'ComplexHeatmap', 'eulerr', 'grid', 'lattice', 'magick', 'pheatmap', 'vcd' etc. by converting them to 'ggplot' objects.

Tests Vignettes

Dependencies

Imports/Depends/LinkingTo/Enhances (4)
  • R
  • ggplot2
  • gridGraphics
  • yulab.utils
  • Suggests (8)
  • aplot
  • colorspace
  • cowplot
  • ggimage
  • knitr
  • rmarkdown
  • prettydoc
  • vcd
  • Version History