sct_normalize: Normalize expression matrix

View source: R/sct_normalize.R

sct_normalizeR Documentation

Normalize expression matrix

Description

Normalize expression matrix by accounting for library size. Uses sctransform.

Usage

sct_normalize(exp, as_sparse = TRUE, verbose = TRUE)

Arguments

exp

Gene x cell expression matrix.

as_sparse

Convert exp to sparse matrix.

verbose

Print messages.

Value

Normalised expression matrix.

Examples

cortex_mrna <- ewceData::cortex_mrna()
exp_sct_normed <- EWCE::sct_normalize(exp = cortex_mrna$exp[1:300, ])

NathanSkene/EWCE documentation built on Nov. 3, 2024, 8:16 a.m.