graph_neighborhood: Graph depth method based method to select niche

View source: R/map_assays.R

graph_neighborhoodR Documentation

Graph depth method based method to select niche

Description

Graph depth method based method to select niche

Usage

graph_neighborhood(coord, depth)

Arguments

coord

data.frame - coordinates of spatial indices in assay

depth

int - graph path depth to define neighborhood 0 = self, 1 = direct neigbors, 2 = neighbors of neighbors, etc

Value

list containing barcodes of neighbors for each spatial index.


patrickCNMartin/Vesalius documentation built on April 17, 2025, 11:31 p.m.