Constract a tgScMat gene expression matrix object

scm_new_matrix(mat, cell_metadata, stat_type = "umi")

Arguments

mat

A matrix containing the expression data (will be stored as a sparse matrix)

cell_metadata

dataframe with metadata on the cells. Rownames correspond to the cell names.

stat_type

Type of statistic. ("umi", "rpkm", "tpm" etc.). Default: "umi"

Value

A tgScMat gene expression matrix object