Call multi_jc() function to perform colocalization test, and plot results in the form of a heatmap

jc_coloc(
  seurat = NULL,
  label = NULL,
  return.mat = F,
  wc.type = c("mat", "listw")
)

Arguments

seurat

a Seurat object containing Kandinsky data slot

label

name of the metadata column variable containing cell type annotation to be used for join count test

return.mat

boolean, whether returning only colocalization plot (FALSE) or also a dataframe containing colocalization test results

wc.type

input type to use to extract summary weight constants used to calculate join count statistics. Must be one of the following: "listw", "mat"

Value

a colocalization plot (when return.mat is FALSE) or a list containing colocalization plot and results in a tabular format