coarse.grain.Rd
Base function called by CoarseGrain
coarse.grain(
cell.embedding,
gene.expression,
graph.dist,
N = 1000,
random.seed = 1
)
matrix; Cell embedding for kNN clustering
matrix; Cell-by-gene count matrix (library normalized)
matrix; Cell-cell graph distance matrix
integer; Number of meta-cells after coarse-graining
Random seed for kNN clustering
Returns a list