View source: R/plotSpatialCoor.R
plotSpatialGeneExpr | R Documentation |
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
)
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. |
A ggplot object.
interGradientsDL
topGradientsCellType
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.