find the dependence between two types of cells

bivariate_dependence(
  sce_object,
  method = "Kcross",
  phenotypes,
  column,
  plot_results = TRUE
)

Arguments

sce_object

SingleCellExperiment object in the form of the output of format_image_to_sce

method

String that is the method for dependence calculation

phenotypes

Vector of phenotypes of interest

column

String that is the name of the column of the types

plot_results

TRUE if result to be plotted, FALSE if not. In either case, an object with the results is returned