Skip to contents

Split the input data matrix by rows into nbins

Usage

sc_data_bin(genes_by_cells = NULL, nbins = 25, na.rm = FALSE)

Arguments

genes_by_cells

genes-by-cells matrix

nbins

number of bins

na.rm

if TRUE, cells with null (0) values are not considered in the calculation of the gene expression level.

Value

vector with bin identifier for each gene