Description Usage Arguments Value See Also
View source: R/distance_funcs.R
Create a distance matrix from cell seg data.
1 | distance_matrix(csd)
|
csd |
A data frame with |
A square matrix with both dimensions equal to nrow(d)
.
The value at [i, j]
will be the distance from the cell
at row i
of csd
to the cell at row j
.
The returned matrix is symmetric.
Other distance functions: compute_all_nearest_distance
,
count_touching_cells
,
count_within_batch
,
count_within
,
find_nearest_distance
,
spatial_distribution_report
,
subset_distance_matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.