normalizeDepth: Normalizes counts to CPM

View source: R/normalize.R

normalizeDepthR Documentation

Normalizes counts to CPM

Description

Normalizes raw counts to counts per million

Usage

normalizeDepth(counts, depthScale = 1e+06, verbose = TRUE)

Arguments

counts

Read count matrix. The rows correspond to genes, columns correspond to individual cells

depthScale

Depth scaling. Using a million for CPM (default: 1e6)

verbose

Boolean for verbosity setting (default: TRUE)

Value

a normalized matrix

Examples

data(vel)
curr <- vel$current

normalizeDepth(curr)


JEFworks-Lab/veloviz documentation built on Sept. 14, 2022, 4:03 p.m.