Skip to contents

Calculate, as Jaccard index, the co-occurrence of cells in all the pairs of elements composed by an element from p1 and an element from p2.

Usage

cel_coocc_partitions(p1 = NULL, p2 = NULL)

Arguments

p1

a partition among scMuffinList$partitions, e.g. scML_demo$partitions$global_exp

p2

a partition among scMuffinList$partitions, e.g. scML_demo$partitions$CNV

Value

matrix of Jaccard indeces between all levels of p1 and all levels of p2