Get hexagonal nearest neighbor distance between 10x Visium spatial barcodes.

VisiumHnn(path, barcodes)

Arguments

path

Path to the directory contains or to download the HNN distance for Visium barcodes, i.e. "~/Downloads".

barcodes

10x Visium whitelisted spatial barcodes.

Value

A hexagonal distance matrix for selected barcodes.

Examples

if (FALSE) {
barcodes <- c("AAACAACGAATAGTTC-1", "AAACTTAATTGCACGC-1")
VisiumHnn("~/Downloads/", barcodes)
}