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, scale.factor = 1.02)

Arguments

sce

SingleCellExperiment (must include row, col, imagerow, imagecol in colData)

scale.factor

Scale estimated L1 difference up by this amount.

Value

doubles xdist, ydist, radius


edward130603/BayesSpace documentation built on May 11, 2023, 6:13 a.m.