PolyFeaturePlot {Seurat} | R Documentation |
Polygon FeaturePlot
Description
Plot cells as polygons, rather than single points. Color cells by any value
accessible by FetchData
.
Usage
PolyFeaturePlot(
object,
features,
cells = NULL,
poly.data = "spatial",
ncol = ceiling(x = length(x = features)/2),
min.cutoff = 0,
max.cutoff = NA,
common.scale = TRUE,
flip.coords = FALSE
)
Arguments
object |
Seurat object |
features |
Vector of features to plot. Features can come from:
|
cells |
Vector of cells to plot (default is all cells) |
poly.data |
Name of the polygon dataframe in the misc slot |
ncol |
Number of columns to split the plot into |
min.cutoff , max.cutoff |
Vector of minimum and maximum cutoff values for each feature, may specify quantile in the form of 'q##' where '##' is the quantile (eg, 'q1', 'q10') |
common.scale |
... |
flip.coords |
Flip x and y coordinates |
Value
Returns a ggplot object
[Package Seurat version 5.1.0 Index]