Color spots on the spatial coordinates according to distances between intrinsic and extrinsic transcriptional profiles.
plotDistances(
object,
index.st,
mid.scale = "mean",
size.point = 1,
title = NULL,
theme = NULL
)
A ggplot object.
A SpatialDDLS
object.
Index of the spatial transcriptomics data to be plotted. It can be either a position or a name if a named list was provided.
The midpoint of the diverging scale. it may be 'mean'
or 'median'
(the former by default).
Size of points (0.1 by default).
Title of plot.
ggplot2 theme.
deconvSpatialDDLS
trainDeconvModel