plotSpatialGeneExpr {SpatialDDLS} | R Documentation |
Plot normalized gene expression data (logCPM) in spatial coordinates
Description
Color spots on the spatial coordinates according to the logCPM values of a particular gene.
Usage
plotSpatialGeneExpr(
object,
index.st,
gene,
colors = "spectral",
size.point = 1,
title = NULL,
theme = NULL
)
Arguments
object |
A |
index.st |
Index of the spatial transcriptomics data to be plotted. It
can be either a position or a name if a named list of
|
gene |
Gene to color spots by. |
colors |
Color scale to be used. It can be |
size.point |
Size of points (0.1 by default). |
title |
Title of plot. |
theme |
ggplot2 theme. |
Value
A ggplot object.
See Also
interGradientsDL
topGradientsCellType
[Package SpatialDDLS version 1.0.2 Index]