getExpression: get expression matrix from a sincera object

Description Usage Arguments Value

View source: R/sincera.R

Description

get expression values of a set of genes in a set of cells from a sincera object

Usage

1
getExpression(object, scaled = FALSE, genes = NULL, cells = NULL)

Arguments

object

A sincera object

scaled

If TRUE, return the zscore scaled expression values

genes

The set of genes to be returned; if NULL, set to all genes in the object

cells

The set of cells to be returned; if NULL, set to all cells in the object

Value

A matrix containing the expression values; rows are genes, columns are cells.


minzheguo/SINCERA documentation built on Feb. 3, 2021, 2:31 p.m.