Color spots on the spatial coordinates according to the logCPM values of a particular gene.
plotSpatialGeneExpr(
object,
index.st,
gene,
colors = "spectral",
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 of
SpatialExperiment
objects was provided.
Gene to color spots by.
Color scale to be used. It can be "blues"
or
"spectral"
(the latter by default).
Size of points (0.1 by default).
Title of plot.
ggplot2 theme.
interGradientsDL
topGradientsCellType