Learn R Programming

Seurat (version 4.3.0.1)

TopNeighbors: Get nearest neighbors for given cell

Description

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

Usage

TopNeighbors(object, cell, n = 5)

Value

Returns a vector of cell names

Arguments

object

Neighbor object

cell

Cell of interest

n

Number of neighbors to return