Description Usage Arguments Value Examples
Creates "vector-friendly" plots. Does this by saving a copy of the plot as a PNG file,
then adding the PNG image with annotation_raster
to a blank plot
of the same dimensions as plot
. Please note: original legends and axes will be lost
during augmentation.
1 | AugmentPlot(plot, width = 10, height = 10, dpi = 100)
|
plot |
A ggplot object |
width, height |
Width and height of PNG version of plot |
dpi |
Plot resolution |
A ggplot object
1 2 3 4 5 | ## Not run:
plot <- DimPlot(object = pbmc_small)
AugmentPlot(plot = plot)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.