View source: R/spatial_transcriptomics.R
plotSpatialClusters | R Documentation |
Plot clusters in tissue image.
plotSpatialClusters( object, assay.type = "ST", sample.name = "Sample1", cluster.column = "population", colors.column = "colors", annotate_centroids = FALSE, point.size = 1.75, title = NULL )
object |
the CellRouter object. |
assay.type |
character; the type of data to use. |
sample.name |
character; the name of the tissue sample. |
cluster.column |
character; the name of the column where the clustering information is stored. |
colors.column |
character; the name of the column where the color of each cluster is stored. |
annotate_centroids |
boolean; annotate the cluster centroids. |
point.size |
numeric; the size of the spot in the image. |
title |
character; figure title. |
ggplot2; plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.