Use Image in 'ggplot2'

Supports image files and graphic objects to be visualized in 'ggplot2' graphic system.


CRAN_Status_Badge gitter DOI

Supports image files and graphic objects to be visualized in 'ggplot2' graphic system.

Authors

Guangchuang YU https://guangchuangyu.github.io

School of Public Health, The University of Hong Kong

Installation

Get the released version from CRAN:

## include BioC repo for dependencies
setRepositories(ind=1:2)
install.packages("ggimage")

Or the development version from github:

setRepositories(ind=1:2)
## install.packages("devtools")
devtools::install_github("GuangchuangYu/ggimage")

News

CHANGES IN VERSION 0.1.0

o update vignette <2017-12-04, Mon> o geom_subview now supports aes mapping <2017-11-21, Tue>

CHANGES IN VERSION 0.0.7

o geom_subview compatible with meme object <2017-10-24, Tue>

CHANGES IN VERSION 0.0.6

o add image_fun parameter; user can use magick function to process image <2017-10-17, Tue> o using magick to read image instead of EBImage <2017-10-17, Tue>

CHANGES IN VERSION 0.0.5

o geom_icon <2017-09-05, Wed>

CHANGES IN VERSION 0.0.4

o geom_emoji <2017-03-23, Thu> o geom_flag <2017-03-22, Wed> o support size = Inf <2017-03-22, Wed> o geom_phylopic layer <2017-03-22, Wed> o color parameter for geom_image and related layers <2017-03-22, Wed> o geom_pokemon <2017-03-22, Wed>

CHANGES IN VERSION 0.0.3

o geom_subview <2017-03-21, Tue> o theme_transparent from ggtree <2017-03-21, Tue>

CHANGES IN VERSION 0.0.2

o remove parsing image parameter via ..., and set image="https://www.r-project.org/logo/Rlogo.png" by default <2017-02-22, Wed>

CHANGES IN VERSION 0.0.1

o geom_image layer <2017-02-21, Tue>

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ggimage")

0.1.0 by Guangchuang Yu, 3 months ago


https://github.com/GuangchuangYu/ggimage


Report a bug at https://github.com/GuangchuangYu/ggimage/issues


Browse source code at https://github.com/cran/ggimage


Authors: Guangchuang Yu [aut, cre] (0000-0002-6485-8781)


Documentation:   PDF Manual  


Artistic-2.0 license


Imports grid, gridGraphics, magick, methods, rvcheck, scales, tibble

Depends on ggplot2

Suggests knitr, prettydoc


Imported by hexSticker.

Suggested by meme.


See at CRAN