ggimage brings images and graphics into ggplot2—from a picture at
each observation to a full-panel background or a miniature plot embedded
in the data.
With ggimage, you can:
geom_bgimage() and
embed plots or other graphic objects as subviews with
geom_subview().geom_image_repel() to separate crowded image
marks.geom_image_interactive() or
geom_phylopic_interactive() to add hover and selection interactions
in HTML output via ggiraph.Guangchuang YU https://yulab-smu.top
School of Basic Medical Sciences, Southern Medical University
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("YuLab-SMU/ggimage")
install.packages("ggimage", repos = c('https://yulab-smu.r-universe.dev', 'https://cloud.r-project.org'))
For examples and details, see the package vignette.