View source: R/drawSpatialDimPlot.R
drawSpatialDimPlot | R Documentation |
Function that generates spatial dim plots for a given Seurat dataset
drawSpatialDimPlot( spatialObject, groupValue, recursiveSection = TRUE, sectionID = NULL )
spatialObject |
spatial Seurat object to use |
groupValue |
metadata variable to show on the plot |
recursiveSection |
if plots should be made for all sections (default TRUE) |
sectionID |
if recursiveSection is FALSE, then a specific section ID should be defined (default NULL) |
This function generates and saves a spatial Dim plot in the Results folder and prints in the screen.
drawSpatialDimPlot(spatialObject = spatial,groupValue = "normCTXDistance_Bin5",recursiveSection = TRUE ) drawSpatialDimPlot(spatialObject = spatial,groupValue = "normCTXDistance_Bin5",recursiveSection = FALSE,sectionID = "B1_A1" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.