Visualize features spatially and interactively
ISpatialFeaturePlot(
object,
feature,
image = NULL,
slot = "data",
alpha = c(0.1, 1)
)
Returns final plot as a ggplot object
A Seurat object
Feature to visualize
Name of the image to use in the plot
If plotting a feature, which data slot to pull from (counts, data, or scale.data)
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.