computeNormCounts: Compute normalized counts

View source: R/computeLogCPM.R

computeNormCountsR Documentation

Compute normalized counts

Description

Compute normalized counts as counts per million

Usage

computeNormCounts(sce)

Arguments

sce

SingleCellExperiment with counts stored as counts(sce)

Details

This function gives same result as edgeR::cpm(counts(sce), log=FALSE)

Value

matrix of CPM values

See Also

also edgeR::cpm()

Examples

library(muscat)
library(SingleCellExperiment)

data(example_sce)

normcounts(example_sce) <- computeNormCounts(example_sce)

GabrielHoffman/dreamlet documentation built on Nov. 8, 2024, 2:45 a.m.