scm_new_matrix: Constract a tgScMat

View source: R/scmat.r

scm_new_matrixR Documentation

Constract a tgScMat

Description

Constract a tgScMat gene expression matrix object

Usage

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


tanaylab/metacell documentation built on Oct. 19, 2023, 1:01 p.m.