Plots distances between cells as a violin plot
Arguments
- cell_to_cell_dist
Data.frame containing the distance output between cell types. The functions that generate the distances can be
calculate_minimum_distances_between_celltypes
andcalculate_pairwise_distances_between_celltypes
.
Examples
distances <- calculate_pairwise_distances_between_celltypes(SPIAT::defined_image,
cell_types_of_interest = c("Immune1", "Immune2"), feature_colname="Cell.Type")
plot_cell_distances_violin(distances)