The patch()
function is used by ggwrap()
and inset()
to convert
objects into a grob
.
# S3 method for Heatmap
patch(x, ..., device = NULL)# S3 method for HeatmapList
patch(x, ..., device = NULL)
# S3 method for HeatmapAnnotation
patch(x, ..., device = NULL)
A grob
object.
An object to be converted into a grob
.
Additional arguments passed to draw().
A function that opens a graphics device for temporary
rendering. By default this is an off-screen, in-memory device
based on the pdf
device, but this default device may not be
satisfactory when using custom fonts.
Heatmap()
HeatmapAnnotation()
Other patch()
methods:
patch.alignpatches()
,
patch.formula()
,
patch.ggplot()
,
patch.grob()
,
patch.patch()
,
patch.patch_ggplot()
,
patch.patchwork()
,
patch.pheatmap()
,
patch.recordedplot()
,
patch.trellis()