View source: R/interactivity.R
plotPolygons | R Documentation |
Plot stored polygons
plotPolygons(
gobject,
polygon_name = "selections",
x,
spat_unit = "cell",
polygons = NULL,
...
)
gobject |
A Giotto object with polygon coordinates |
polygon_name |
name of polygon selections |
x |
A ggplot2, spatPlot or terra::rast object |
spat_unit |
spatial unit |
polygons |
character. Vector of polygon names to plot. If NULL, all polygons are plotted |
... |
Additional parameters passed to ggplot2::geom_polygon() or graphics::polygon |
A ggplot2 image
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.