View source: R/plotSpatialCoor.R
plotSpatialPropAll | R Documentation |
Color spots on the spatial coordinates plot according to their predicted cell type proportions. All cell types are represented together using the same color scale from 0 to 1.
plotSpatialPropAll(
object,
index.st,
colors = "blues",
set = "raw",
prediction = "Regularized",
size.point = 0.1,
title = NULL,
nrow = NULL,
ncol = 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
|
colors |
Color scale to be used. It can be |
set |
If results were simplified (see |
prediction |
It can be |
size.point |
Size of points (0.1 by default). |
title |
Title of plot. |
nrow |
Number of rows in the split plot. |
ncol |
Number of columns in the split plot. |
theme |
ggplot2 theme. |
A ggplot object.
plotSpatialProp
deconvSpatialDDLS
trainDeconvModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.