doi:10.1093/molbev/msy194>), 'aplot' provides utilities to aligns associated subplots to a main plot at different sides (left, right, top and bottom) with axes exactly matched.">

aplot: Decorate a 'ggplot' with Associated Information (original) (raw)

For many times, we are not just aligning plots as what 'cowplot' and 'patchwork' did. Users would like to align associated information that requires axes to be exactly matched in subplots, e.g. hierarchical clustering with a heatmap. Inspired by the 'Method 2' in 'ggtree' (G Yu (2018) <doi:10.1093/molbev/msy194>), 'aplot' provides utilities to aligns associated subplots to a main plot at different sides (left, right, top and bottom) with axes exactly matched.

Version: 0.2.5
Depends: R (≥ 4.1.0)
Imports: ggfun (≥ 0.1.3), ggplot2, ggplotify, patchwork, magrittr, methods, utils, yulab.utils (≥ 0.1.9)
Suggests: ggtree
Published: 2025-02-27
DOI: 10.32614/CRAN.package.aplot
Author: Guangchuang Yu ORCID iD [aut, cre], Shuangbin Xu ORCID iD [ctb], Thomas Hackl [ctb]
Maintainer: Guangchuang Yu
License: Artistic-2.0
URL: https://github.com/YuLab-SMU/aplot, https://yulab-smu.top/aplot/
NeedsCompilation: no
Materials: NEWS
CRAN checks: aplot results

Documentation:

Downloads:

Reverse dependencies:

Reverse imports: aplotExtra, ChIPseeker, enrichplot, ggbreak, ggheatmap, ggmsa, ggpicrust2, ggtree, ggVennDiagram, GseaVis, interpretCI, scDotPlot, sitePath
Reverse suggests: ggplotify, ggsc, ggtangle, ggtreeDendro, MicrobiotaProcess, pctax, pcutils, plotbb, SVP

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=aplotto link to this page.