Seurat (version 2.3.4)

LogNormalize: Normalize raw data

Description

Normalize count data per cell and transform to log scale

Usage

LogNormalize(data, scale.factor = 10000, display.progress = TRUE)

Arguments

data

Matrix with the raw count data

scale.factor

Scale the data. Default is 1e4

display.progress

Print progress

Value

Returns a matrix with the normalize and log transformed data

Examples

Run this code
# NOT RUN {
mat <- matrix(data = rbinom(n = 25, size = 5, prob = 0.2), nrow = 5)
mat
mat_norm <- LogNormalize(data = mat)
mat_norm

# }

Run the code above in your browser using DataCamp Workspace