clumps_dist | R Documentation |
With two outputs from the clumps
function compute the distances between pairs of aggregates.
Computes the distances between aggregates in clumps.x
with those in clumps.y
.
If you want distances between aggregates from one output, just input the data.frame in clumps.x
.
Provide pwidth and zstep to get the distance in microns. Alternatively it's the pixel distance
clumps_dist(clumps.x, clumps.y = clumps.x, pwidth = 1, zstep = 1, cores = 1)
clumps.x |
Data.frame output from the |
clumps.y |
Optional. Data.frame output from the |
pwidth |
Width of pixels in microns |
zstep |
z-step in microns |
cores |
Number of cores to use for parallel computing |
A dataframe with the distances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.