normalizeDepth {veloviz}R 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)


[Package veloviz version 0.99.7 Index]