GetCentroids: Get cell centroids

Description Usage Arguments Details Value

Description

Calculate the spatial mapping centroids for each cell, based on previously calculated mapping probabilities for each bin.

Usage

1
GetCentroids(object, cells.use = NULL, get.exact = TRUE)

Arguments

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.

Details

Currently, Seurat assumes that the tissue of interest has an 8x8 bin structure. This will be broadened in a future release.

Value

Data frame containing the x and y coordinates for each cell centroid.


nukappa/seurat_v2 documentation built on May 24, 2019, 9:57 a.m.