clusterCenters: clusterCenters

Description Usage Arguments Value Author(s) Examples

View source: R/summarise.R

Description

Get centers of clusters given a Seurat object, to use for labelling in tSNE space. The cluster center is defined as the median X and Y coordinate across cells in each cluster.

Usage

1

Arguments

seurat

Seurat object, where dimensionality reduction has been applied, i.e. (after applying Seurat::RunTSNE() to the object).

Value

Data frame with three columns: Cluster, mean_tSNE_1, and mean_tSNE_2

Author(s)

Selin Jessa

Examples

1

sjessa/cytokit documentation built on Feb. 10, 2020, 7:58 a.m.