Learn R Programming

Seurat (version 4.3.0.1)

ISpatialFeaturePlot: Visualize features spatially and interactively

Description

Visualize features spatially and interactively

Usage

ISpatialFeaturePlot(
  object,
  feature,
  image = NULL,
  slot = "data",
  alpha = c(0.1, 1)
)

Value

Returns final plot as a ggplot object

Arguments

object

Seurat object

feature

Feature to visualize

image

Name of the image to use in the plot

slot

Which slot to pull expression data from?

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.