Learn R Programming

aplot (version 0.3.1)

Decorate a 'ggplot' with Associated Information

Description

Supports data-driven composition of a main plot with associated subplots that need precise axis alignment. Unlike general layout-focused tools such as 'cowplot' and 'patchwork', it enables related subplots to be integrated on the top, bottom, left, or right sides of a main plot with matched axes, so that the combined panels can be interpreted as a coherent whole. This design was inspired by the 'Method 2' described in 'ggtree' (G Yu (2018) ).

Copy Link

Version

Install

install.packages('aplot')

Monthly Downloads

73,578

Version

0.3.1

License

Artistic-2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Guangchuang Yu

Last Published

July 7th, 2026

Functions in aplot (0.3.1)

aplot-package

aplot: Decorate a 'ggplot' with Associated Information
plot_list

plot a list of ggplot objects
gglistGrob

This function converts 'gglist' object to grob (i.e. gtable object)
insert_left

plot-insertion
reexports

Objects exported from other packages
set_guide_area

set_guide_area
set_guide_layout

set_guide_layout
set_panel_spacing

set_panel_spacing
xlab2

display x or y axis label as an ordinary text, so that the label will not be aligned with axis label of another plot
xlim2

xlim2
gglist

construct a `gglist` object
as.patchwork

as.patchwork