dot-compute_interspot_distances: Estimate the distance between two neighboring spots

Description Usage Arguments Value

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

1
.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


BayesSpace documentation built on Nov. 8, 2020, 8:03 p.m.