convert_to_cpm: Convert expression matrix to CPM (library size...

Description Usage Arguments Value

View source: R/normalization.R

Description

Convert expression matrix to CPM (library size normalization).

Usage

1
convert_to_cpm(M, scale_factor = 1e+06)

Arguments

M

Expression matrix (with genes as rows) in sparse or dense format.

scale_factor

Cell counts sum to this value after normalization (1e6 by default).

Value

Matrix in same format as input.


gillislab/MetaMarkers documentation built on April 24, 2021, 9:25 p.m.