Crandore Hub

aplot

Decorate a 'ggplot' with Associated Information

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.

Versions across snapshots

VersionRepositoryFileSize
0.2.9 2026-04-09 windows/windows R-4.5 aplot_0.2.9.zip 105.7 KiB

Dependencies (latest)

Imports

Suggests