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 (
Idents(object = object))- 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