getCounts {SCnorm} | R Documentation

## getCounts

### Description

Convenient helper function to extract the normalized expression matrix from the SummarizedExperiment

### Usage

    getCounts(DATA)

### Arguments

`DATA` | An object of class `SummarizedExperiment` that contains single-cell expression and metadata

### Value

A `matrix` which contains the count data where genes are in rows and cells are in columns

### Examples

    data(ExampleSimSCData)
    ExampleData <- SummarizedExperiment::SummarizedExperiment(assays=list("Counts"=ExampleSimSCData))
    myData <- getCounts(ExampleData)

[Package SCnorm version 1.16.0 Index]