PolyDimPlot {Seurat} | R Documentation |
Polygon DimPlot
Description
Plot cells as polygons, rather than single points. Color cells by identity, or a categorical variable in metadata
Usage
PolyDimPlot(
object,
group.by = NULL,
cells = NULL,
poly.data = "spatial",
flip.coords = FALSE
)
Arguments
object |
Seurat object |
group.by |
A grouping variable present in the metadata. Default is to use the groupings present
in the current cell identities ( |
cells |
Vector of cells to plot (default is all cells) |
poly.data |
Name of the polygon dataframe in the misc slot |
flip.coords |
Flip x and y coordinates |
Value
Returns a ggplot object
[Package Seurat version 5.1.0 Index]