Creating Composite Plots using 'aplot'
Overview
Many complex plots are actually composite plots, such as 'oncoplot', 'funkyheatmap', 'upsetplot', etc. We can produce subplots using 'ggplot2' and combine them to create composite plots using 'aplot'. In this way, it is easy to customize these complex plots, by adding, deleting or modifying subplots in the final plot. This package provides a set of utilities to help users to create subplots and complex plots.
- export
oncoplot_components()as a reusable component interface for downstream oncoplot extensions (2026-07-15, Wed) - refactor
oncoplot()to assemble panels fromoncoplot_components()with native pipe syntax
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 9 (1 internal)includes a package overview page
- Examples that run
- 67%2 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 38%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 60%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
PRs over time
Commits over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/yulab-smu/aplotextra on 2026-10-18.
Dependencies
Installing aplotExtra adds 67 packages (31 with compiled code, 61 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB. 1 more not on CRAN is not measured.
Code & Tests
People & History
Package metadata
- First published
- 2023-08-25
- Total releases
- 5 / 3 yrs
- License
- Artistic-2.0 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 14 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("aplotExtra")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1016/j.xinn.2025.100958.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.