View source: R/spatial_transcriptomics.R
plotSpatialExpression | R Documentation |
Plot spatial expression for selected genes.
plotSpatialExpression( object, assay.type = "ST", sample.name = "Sample1", cluster.column = "population", selected_clusters = NULL, genes, point.size = 1.75 )
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. |
selected_clusters |
list; a vector containing the name of the clusters that will be plotted for each tissue sample. |
genes |
character; a vector containing the name of the genes. that will be plotted for each tissue sample. |
point.size |
numeric; the size of the spot in the image. |
list; ggplot2 plots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.