View source: R/convert-Seurat.R
Seurat_SpatialRNA | R Documentation |
Convert Seurat class to SpatialRNA class as the input data for RCTD analysis using spacexr package.
Seurat_SpatialRNA( seurat, slot = "counts", assay = "Spatial", image = NULL, nUMI_name = "nCount_Spatial" )
seurat |
A Seurat class object. |
slot |
Specific assay data to get or set. see |
assay |
Specific assay to get data from or set data for; defaults to the default assay. see |
image |
Name of SpatialImage object to get coordinates for; if NULL, will attempt to select an image automatically. see |
nUMI_name |
Optional, a colname (by pixel barcode) in Seurat object, which refer to total counts or UMI's appearing at each pixel. If not provided, nUMI will be assumed to be the total counts appearing on each pixel. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.