Plots distances between cells as a violin plot

plot_cell_distances_violin(cell_to_cell_dist)

Arguments

cell_to_cell_dist

Output from calculate_all_distances_between_phenotypes

Value

A plot is returned

Examples

distances <- calculate_all_distances_between_cell_types(SPIAT::formatted_image, cell_types_of_interest = c("CD3,CD4", "CD3,CD8"), column="Phenotype") plot_cell_distances_violin(distances)