R/04_Colocalisation.R
jc_coloc.Rd
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")
)
a Seurat object containing Kandinsky data slot
name of the metadata column variable containing cell type annotation to be used for join count test
boolean, whether returning only colocalization plot (FALSE) or also a dataframe containing colocalization test results
input type to use to extract summary weight constants used to calculate join count statistics. Must be one of the following: "listw", "mat"
a colocalization plot (when return.mat is FALSE) or a list containing colocalization plot and results in a tabular format