Learn R Programming

Seurat (version 5.0.3)

ISpatialDimPlot: Visualize clusters spatially and interactively

Description

Visualize clusters spatially and interactively

Usage

ISpatialDimPlot(object, image = NULL, group.by = NULL, alpha = c(0.3, 1))

Value

Returns final plot as a ggplot object

Arguments

object

A Seurat object

image

Name of the image to use in the plot

group.by

Name of meta.data column to group the data by

alpha

Controls opacity of spots. Provide as a vector specifying the min and max for SpatialFeaturePlot. For SpatialDimPlot, provide a single alpha value for each plot.