as.grob {ggplotify} | R Documentation |
as.grob
Description
convert a plot to grob object
Usage
as.grob(plot, ...)
## S3 method for class 'aplot'
as.grob(plot, ...)
## S3 method for class 'oncoplot'
as.grob(plot, ...)
## S3 method for class 'bbplot'
as.grob(plot, ...)
## S3 method for class 'patchwork'
as.grob(plot, ...)
## S3 method for class 'gglist'
as.grob(plot, ...)
## S3 method for class 'expression'
as.grob(plot, ...)
## S3 method for class 'formula'
as.grob(plot, ...)
## S3 method for class ''function''
as.grob(plot, ...)
## S3 method for class 'ggplot'
as.grob(plot, ...)
## S3 method for class 'meme'
as.grob(plot, ...)
## S3 method for class 'trellis'
as.grob(plot, ...)
## S3 method for class 'eulergram'
as.grob(plot, ...)
## S3 method for class 'Heatmap'
as.grob(plot, ...)
## S3 method for class 'upset'
as.grob(plot, ...)
## S3 method for class 'pheatmap'
as.grob(plot, ...)
## S3 method for class 'grob'
as.grob(plot, ...)
Arguments
plot |
base or grid plot, or graphic object generated by ggplot, lattice, etc. |
... |
additional parameter, mostly will be ignored. |
Value
grob object
Author(s)
Guangchuang Yu
Examples
as.grob(~barplot(1:10))
[Package ggplotify version 0.1.2 Index]