as.grob | R Documentation |
convert a plot to grob object
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, ...)
plot |
base or grid plot, or graphic object generated by ggplot, lattice, etc. |
... |
additional parameter, mostly will be ignored. |
grob object
Guangchuang Yu
as.grob(~barplot(1:10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.