clusterPlot | R Documentation |
Plot spatial cluster assignments.
clusterPlot(
sce,
label = "spatial.cluster",
palette = NULL,
color = NULL,
platform = NULL,
is.enhanced = NULL,
nsubspots.per.edge = 3,
...
)
sce |
SingleCellExperiment. If |
label |
Labels used to color each spot. May be the name of a column in
|
palette |
Optional vector of hex codes to use for discrete spot values. |
color |
Optional hex code to set color of borders around spots. Set to
|
platform |
Spatial sequencing platform. If "Visium", the hex spot layout
will be used, otherwise square spots will be plotted. |
is.enhanced |
True if |
nsubspots.per.edge |
Number of subspots per edge of the square. Only
valid when |
... |
Additional arguments for |
Returns a ggplot object.
Other spatial plotting functions:
featurePlot()
sce <- exampleSCE()
clusterPlot(sce)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.