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


satijalab/seurat documentation built on Jan. 14, 2025, 8:48 p.m.