R/grid_cells.R
MergeCells.Rd
Merge cells around mesh points in each bin into pseudo-bulk gene expression matrix.
MergeCells(dge, gd, by = "mesh.points", cores = -1)
Matrix or sparse matrix for gene expression matrix rows are genes, columns are cells.
A GridDensity object.
Merge raw counts by "bins" or "mesh.points". Default: "mesh.points"
Number of threads, -1 means all available threads. Default: -1
A gene expression matrix, rows are genes, columns are merged cells.