Decorate a 'ggplot' with Associated Information

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) ).


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("aplot")

0.3.2 by Guangchuang Yu, a month ago


https://github.com/YuLab-SMU/aplot, https://yulab-smu.top/aplot/


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


Authors: Guangchuang Yu [aut, cre] (ORCID: , Shuangbin Xu [ctb] , Thomas Hackl [ctb]


Documentation:   PDF Manual  


Artistic-2.0 license


Imports ggfun, gtable, ggplot2, ggplotify, patchwork, magrittr, methods, utils, yulab.utils, pillar

Suggests cowplot, ggtree, testthat


Imported by aplotExtra, ggVennDiagram, ggbreak, ggpicrust2, interpretCI.

Suggested by DPI, ggplotify, ggtangle, pctax, pcutils, plotbb.


See at CRAN