dot-compute_interspot_distances: Estimate the distance between two neighboring spots

.compute_interspot_distancesR Documentation

Estimate the distance between two neighboring spots

Description

Fit linear models between each image pixel coordinate and its corresponding array coordinate to estimate the pixel distance between two spots along each axis. Add these distances to estimate the L1 distance between two spots, then add a small buffer.

Usage

.compute_interspot_distances(sce)

Arguments

sce

SingleCellExperiment (must include array_row, array_col, pxl_row_in_fullres, pxl_col_in_fullres in colData)

Value

doubles xdist, ydist


edward130603/BayesSpace documentation built on Oct. 23, 2024, 7:04 a.m.