Description Usage Arguments Value
View source: R/visualization.R
Visualize clusters spatially and interactively
1 | ISpatialDimPlot(object, image = NULL, group.by = NULL, alpha = c(0.3, 1))
|
object |
Seurat object |
image |
Name of the image to use in the plot |
group.by |
Name of one or more metadata columns to group (color) cells by (for example, orig.ident); pass 'ident' to group by identity class |
alpha |
Controls opacity of spots. Provide as a vector specifying the min and max for SpatialFeaturePlot. For SpatialDimPlot, provide a single alpha value for each plot. |
Returns final plot as a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.