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)

scBFA documentation built on Nov. 8, 2020, 5:24 p.m.