patch.patchwork: Convert Object into a Grob

View source: R/alignpatch-patch.R

patch.patchworkR Documentation

Convert Object into a Grob

Description

The patch() function is used by ggwrap() and inset() to convert objects into a grob.

Usage

## S3 method for class 'patchwork'
patch(x, ...)

Arguments

x

An object to be converted into a grob.

...

Not used currently.

Value

A grob object.

See Also

patchwork

Other patch() methods: patch.Heatmap(), patch.alignpatches(), patch.formula(), patch.ggplot(), patch.grob(), patch.patch(), patch.patch_ggplot(), patch.pheatmap(), patch.recordedplot(), patch.trellis()


ggalign documentation built on June 8, 2025, 11:25 a.m.