Plots distances between cells as a violin plot
plot_cell_distances_violin(cell_to_cell_dist)
cell_to_cell_dist | Output from calculate_all_distances_between_phenotypes |
---|
A plot is returned
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)