Description Usage Arguments Details Value
Calculate the spatial mapping centroids for each cell, based on previously calculated mapping probabilities for each bin.
1  | GetCentroids(object, cells.use = NULL, get.exact = TRUE)
 | 
object | 
 Seurat object  | 
cells.use | 
 Cells to calculate centroids for (default is all cells)  | 
get.exact | 
 Get exact centroid (Default is TRUE). If FALSE, identify the single closest bin.  | 
Currently, Seurat assumes that the tissue of interest has an 8x8 bin structure. This will be broadened in a future release.
Data frame containing the x and y coordinates for each cell centroid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.