Package: ggplotify 0.1.2

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.

Authors:Guangchuang Yu [aut, cre]

ggplotify_0.1.2.tar.gz
ggplotify_0.1.2.zip(r-4.5)ggplotify_0.1.2.zip(r-4.4)ggplotify_0.1.2.zip(r-4.3)
ggplotify_0.1.2.tgz(r-4.5-any)ggplotify_0.1.2.tgz(r-4.4-any)ggplotify_0.1.2.tgz(r-4.3-any)
ggplotify_0.1.2.tar.gz(r-4.5-noble)ggplotify_0.1.2.tar.gz(r-4.4-noble)
ggplotify_0.1.2.tgz(r-4.4-emscripten)ggplotify_0.1.2.tgz(r-4.3-emscripten)
ggplotify.pdf |ggplotify.html
ggplotify/json (API)
NEWS

# Install 'ggplotify' in R:
install.packages('ggplotify', repos = c('https://guangchuangyu.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/guangchuangyu/ggplotify/issues

On CRAN:

Conda:

baseplotggplot2gridlatticeupsetrvcd

13.17 score 109 stars 169 packages 2.0k scripts 38k downloads 7 mentions 4 exports 32 dependencies

Last updated 1 years agofrom:892d9dd447. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 01 2025
R-4.5-winOKMar 01 2025
R-4.5-macOKMar 01 2025
R-4.5-linuxOKMar 01 2025
R-4.4-winOKMar 01 2025
R-4.4-macOKMar 01 2025
R-4.3-winOKMar 01 2025
R-4.3-macOKMar 01 2025

Exports:as.ggplotas.grobbase2grobgrid2grob

Dependencies:clicolorspacedigestfansifarverfsggplot2gluegridGraphicsgtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithryulab.utils

Convert plot to grob and ggplot object

Rendered fromggplotify.Rmdusingknitr::rmarkdownon Mar 01 2025.

Last update: 2019-08-21
Started: 2018-04-24

Readme and manuals

Help Manual

Help pageTopics
as.ggplotas.ggplot
as.grobas.grob as.grob.aplot as.grob.bbplot as.grob.eulergram as.grob.expression as.grob.formula as.grob.function as.grob.gglist as.grob.ggplot as.grob.grob as.grob.Heatmap as.grob.magick-image as.grob.meme as.grob.oncoplot as.grob.patchwork as.grob.pheatmap as.grob.trellis as.grob.upset
base2grobbase2grob
grid2grobgrid2grob