View source: R/spatial_transcriptomics.R
plotSpatialSubclusters | R Documentation |
Plot subclusters from selected clusters.
plotSpatialSubclusters( object, assay.type = "ST", sample.name = "Sample1", cluster.column = "population", subcluster.column = "Subpopulation", selected_clusters, 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. |
subcluster.column |
character; the name of the column where the subclustering information is stored. |
selected_clusters |
list; a vector containing the name of the clusters that will be plotted for each tissue sample. |
annotate_centroids |
boolean; annotate the subcluster 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.