R/spatial_visualization.R
plotSpatialDistanceDistribution.Rd
Visualize the distribution of spatial distances between spots
plotSpatialDistanceDistribution( object, by_celltype = FALSE, max_distance = NULL, bins = 50 )
A scMetaLink object with spatial information
Logical. Show distances stratified by cell type pairs
Numeric. Maximum distance to show (NULL for all)
Integer. Number of histogram bins
A ggplot2 object