Plot stored SpatialDM results
Arguments
- object
A Seurat object with SpatialDM results.
- result.name
Stored result name.
- plot_type
Plot type (`"weights"`, `"global"`, or `"local"`).
- pair
LR interaction name for local plotting.
- spot
Spot identifier for weight plotting.
- signaling
Which stored weight matrix to use.
- highlight
LR interactions to label in the global plot.
- palette, palcolor, theme_use, theme_args
SCOP plotting controls.
- ...
Additional arguments passed to SCOP spatial plotting functions.
- image.scale
Image scale factor matching the selected raster.
Examples
if (FALSE) { # \dontrun{
data(visium_human_pancreas_sub)
spatial <- RunSpatialDM(
visium_human_pancreas_sub,
coord.cols = c("col", "row")
)
SpatialDMPlot(spatial, plot_type = "global")
SpatialDMPlot(spatial, plot_type = "weights", spot = colnames(spatial)[1])
} # }