patchwork: The Composer of Plots

The 'ggplot2' package provides a strong API for sequentially building up a plot, but does not concern itself with composition of multiple plots. 'patchwork' is a package that expands the API to allow for arbitrarily complex composition of plots by, among others, providing mathematical operators for combining multiple plots. Other packages that try to address this need (but with a different approach) are 'gridExtra' and 'cowplot'.

Version: 1.1.2
Imports: ggplot2 (≥ 3.0.0), gtable, grid, stats, grDevices, utils, graphics
Suggests: knitr, rmarkdown, gridGraphics, gridExtra, ragg, testthat (≥ 2.1.0), vdiffr, covr, png
Published: 2022-08-19
Author: Thomas Lin Pedersen ORCID iD [cre, aut]
Maintainer: Thomas Lin Pedersen <thomasp85 at gmail.com>
BugReports: https://github.com/thomasp85/patchwork/issues
License: MIT + file LICENSE
URL: https://patchwork.data-imaginist.com, https://github.com/thomasp85/patchwork
NeedsCompilation: no
Materials: README NEWS
CRAN checks: patchwork results

Documentation:

Reference manual: patchwork.pdf
Vignettes: Getting Started

Downloads:

Package source: patchwork_1.1.2.tar.gz
Windows binaries: r-devel: patchwork_1.1.2.zip, r-release: patchwork_1.1.2.zip, r-oldrel: patchwork_1.1.2.zip
macOS binaries: r-release (arm64): patchwork_1.1.2.tgz, r-oldrel (arm64): patchwork_1.1.2.tgz, r-release (x86_64): patchwork_1.1.2.tgz, r-oldrel (x86_64): patchwork_1.1.2.tgz
Old sources: patchwork archive

Reverse dependencies:

Reverse depends: immunarch, MixOptim, Nebulosa, rliger
Reverse imports: ACDC, activAnalyzer, aplot, autoReg, autostats, BioNERO, bridger, Cepo, ChemoSpec, chillR, cogeqc, ComplexUpset, CRABS, CytOpT, dartR, dataquieR, dearseq, decisionSupport, dynamic, dynplot, EpiNow2, escape, EvoPhylo, fairmodels, fdaPOIFD, figpatch, FindIT2, fitbitViz, foieGras, foqat, forestecology, funcharts, ggcharts, ggcoverage, ggheatmap, gglm, ggmotif, ggseqplot, ggstatsplot, ggsurvfit, gosset, GRaNIE, gratia, HGC, iglu, infer, inlabru, insane, insurancerating, interpretCI, iNZightRegression, iNZightTS, itsdm, lactater, lares, LongDat, loon.ggplot, LSTS, mcp, MedLEA, memes, metabolic, metan, mFD, microbiomeMarker, MicrobiotaProcess, migraph, miloR, mrgsim.sa, msmtools, muHVT, multiplestressR, NanoMethViz, NetFACS, orthogene, plotmm, powerly, ppseq, PRECAST, psycModel, qacBase, qmtools, radiant.basics, radiant.data, radiant.model, radiant.multivariate, redist, rhierbaps, RNAseqQC, Robyn, rprimer, sccomp, scRNAstat, SEIRfansy, Seurat, Signac, SimplyAgree, spatialRF, splithalf, spotoroo, spruce, standR, starvz, suddengains, TidyDensity, tidyHeatmap, tinyarray, treefit, treekoR, triplot, uniswappeR, unusualprofile, UpSetVP, visxhclust, whippr, wordpredictor
Reverse suggests: accrualPlot, AlleleShift, BayesianReasoning, BayesSpace, bayestestR, bbknnR, Cepo, ChemoSpecUtils, ClustAssess, concurve, coveffectsplot, cowplot, cricketdata, decoupleR, FAVAR, ferrn, fivethirtyeight, funtimes, geofi, GeomxTools, GET, ggblanket, ggbreak, ggdist, ggeasy, ggeffects, ggHoriPlot, ggmosaic, ggprism, ggridges, ggtreeExtra, Guerry, hermiter, ibawds, iml, industRial, JSmediation, ldsr, lmls, marginaleffects, marqLevAlg, MASSExtra, metaconfoundr, mia, miaViz, mlr3fairness, mlr3spatiotempcv, mlr3viz, modelbased, moderndive, multifunc, nlmixr, nullranges, OBIC, pagoo, painbow, partR2, performance, POMA, portvine, pvLRT, rfishdraw, robber, RxODE, rxode2, scp, see, sfdep, sigminer, simplevis, SUMMER, tidypaleo, tlars, trending, TRexSelector, UCell, velociraptor, vissE, vroom, weitrix

Linking:

Please use the canonical form https://CRAN.R-project.org/package=patchwork to link to this page.