find_neighbors_visiumHD: Find Neighbors in VisiumHD Data

View source: R/f.R

find_neighbors_visiumHDR Documentation

Find Neighbors in VisiumHD Data

Description

This function identifies the closest neighbors for each barcode based on spatial coordinates.

Usage

find_neighbors_visiumHD(coords_df, verbose = TRUE)

Arguments

verbose

Logical, whether to display a progress bar (default is TRUE).

df

A dataframe containing barcodes and spatial coordinates.

Value

A dataframe with identified neighbors or NULL if no neighbors are found.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.