Calculate the spatial mapping centroids for each cell, based on previously calculated mapping probabilities for each bin.
GetCentroids(object, cells.use = NULL, get.exact = TRUE)
Seurat object
Cells to calculate centroids for (default is all cells)
Get exact centroid (Default is TRUE). If FALSE, identify the single closest bin.
Data frame containing the x and y coordinates for each cell centroid.
Currently, Seurat assumes that the tissue of interest has an 8x8 bin structure. This will be broadened in a future release.