`distance_matrix.Rd`

Create a distance matrix from cell seg data.

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`