The patch() function is used by ggwrap() and inset() to convert
objects into a grob.
# S3 method for formula
patch(x, ..., device = NULL, name = NULL)# S3 method for `function`
patch(x, ..., device = NULL, name = NULL)
A grob object.
An object to be converted into a grob.
Graphical Parameters passed on to par().
A function that opens a graphics device for grid.echo() to
work on. By default this is an off-screen, in-memory device
based on the pdf device. This default device may not be
satisfactory when using custom fonts.
A character identifier.
Other patch() methods:
patch.Heatmap(),
patch.alignpatches(),
patch.ggplot(),
patch.grob(),
patch.patch(),
patch.patch_ggplot(),
patch.patchwork(),
patch.pheatmap(),
patch.recordedplot(),
patch.trellis()