getGeneExpr {scBFA} | R Documentation

## Function to extract gene expression matrix from input observation matrix

### Description

Function to extract gene expression matrix from input observation matrix

### Usage

    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

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

    GeneExpr = getGeneExpr(scData)

[Package scBFA version 1.4.0 Index]