Extract sub-matrix. This return a matrix object on a subset of the genes and cells.

scm_sub_mat(scmat, genes = NULL, cells = NULL)

Arguments

scmat

A tgScMat object.

genes

Genes range. NULL implies the entire gene set

cells

Cells range. NULL implies the entire cell set