ISpatialDimPlot: Visualize clusters spatially and interactively

View source: R/visualization.R

ISpatialDimPlotR Documentation

Visualize clusters spatially and interactively

Description

Visualize clusters spatially and interactively

Usage

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

Arguments

object

A Seurat object

image

Name of the image to use in the plot

image.scale

Choose the scale factor ("lowres"/"hires") to apply in order to matchthe plot with the specified 'image' - defaults to "lowres"

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.

Value

Returns final plot as a ggplot object


Seurat documentation built on May 29, 2024, 4:20 a.m.