R/calculate_all_distances_between_cell_types.R
calculate_all_distances_between_cell_types.Rd
Returns the distances between cells of different types. If none of the cell types are found, it will print an error message and return a vector of NAs
calculate_all_distances_between_cell_types( sce_object, cell_types_of_interest = NULL, column )
sce_object | SingleCellExperiment object in the form of the output of format_image_to_sce |
---|---|
cell_types_of_interest | Vector containing cell types to be considered, if NULL, all cell type combinations will be calculated |
column | Column name with the cell types of interest to be considered |
A data.frame is returned.