TopNeighbors: Get nearest neighbors for given cell

View source: R/objects.R

TopNeighborsR Documentation

Get nearest neighbors for given cell

Description

Return a vector of cell names of the nearest n cells.

Usage

TopNeighbors(object, cell, n = 5)

Arguments

object

Neighbor object

cell

Cell of interest

n

Number of neighbors to return

Value

Returns a vector of cell names


Seurat documentation built on Nov. 18, 2023, 1:10 a.m.