Skip to content

aplot

Decorate a 'ggplot' with Associated Information

v0.3.0 · Jun 22, 2026 · Artistic-2.0

Description

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.

Downloads

CRAN

76.2K

Last 30 days

407th

192.3K

Last 90 days

699.6K

Last year

Trend: +24.5% (30d vs prior 30d)

r2u CRAN

410

Last 30 days

993

Last 90 days

3.4K

Last year

Trend: +54.7% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (11)

Dependency Network

Dependencies Reverse dependencies ggfun ggplot2 ggplotify patchwork magrittr yulab.utils pillar aplotExtra ggVennDiagram ggbreak ggpicrust2 interpretCI DPI ggplotify ggtangle pctax pcutils plotbb aplot

Version History

28 tracked
updated 0.3.0 ← 0.2.9 diff Jun 23, 2026
new 0.2.9 Mar 10, 2026
updated 0.2.9 ← 0.2.8 diff Sep 11, 2025
updated 0.2.8 ← 0.2.7 diff Jul 1, 2025
updated 0.2.7 ← 0.2.6 diff Jun 20, 2025
updated 0.2.6 ← 0.2.5 diff Jun 11, 2025
updated 0.2.5 ← 0.2.4 diff Feb 26, 2025
updated 0.2.4 ← 0.2.3 diff Dec 16, 2024
updated 0.2.3 ← 0.2.2 diff Jun 16, 2024
updated 0.2.2 ← 0.2.1 diff Oct 5, 2023
updated 0.2.1 ← 0.2.0 diff Sep 14, 2023
updated 0.2.0 ← 0.1.10 diff Aug 9, 2023
updated 0.1.10 ← 0.1.9 diff Mar 7, 2023
updated 0.1.9 ← 0.1.8 diff Nov 23, 2022
updated 0.1.8 ← 0.1.7 diff Oct 8, 2022