getGeneExpr: Function to extract gene expression matrix from input...

Description Usage Arguments Value Examples

View source: R/BFA.R

Description

Function to extract gene expression matrix from input observation matrix

Usage

1
getGeneExpr(scData)

Arguments

scData

can be a raw count matrix, in which rows are genes and columns are cells; can be a seurat object; can be a SingleCellExperiment object

Value

a raw expression matrix in which rows are genes and columns are cells.

Examples

1
2
3
scData = matrix(rpois(15,1),3,5)

GeneExpr = getGeneExpr(scData)

quon-titative-biology/scBFA documentation built on March 24, 2020, 7:30 p.m.