Skip to contents

c++ implementation for calculating the cell-neighour-overlapping among k nearest cell neighbours of each gene.

Usage

calc_overlap(cc_adj, cg_adj, threshold)

Arguments

cc_adj

sparse matrix (dgCMatrix), cell-cell adjacency matrix

cg_adj

sparse matrix (dgCMatrix), cell-gene adjacency matrix

threshold

numeric value between 0 and 1. The cutoff of cell-nqighour-overlapping of each gene.