View source: R/plotSpatialCoor.R
plotSpatialClustering | R Documentation |
Color spots on the spatial coordinates according to the results of clustering based on predicted proportions.
plotSpatialClustering(
object,
index.st,
method,
k.nn,
k.centers,
colors,
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
|
method |
Clustering method results to plot. It can be |
k.nn |
Number of nearest neighbors used if |
k.centers |
Number of k centers used if |
colors |
Vector of colors to be used. |
size.point |
Size of points (0.1 by default). |
title |
Title of plot. |
theme |
ggplot2 theme. |
A ggplot object.
spatialPropClustering
deconvSpatialDDLS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.